What OS are you running?
Most, if not all modern Linux distributions do not allow setuid scripts to run. Wikipedia SETUID
More info regarding setuid scripts, as well as an example c wrapper setuid c wrapper
Comment on Re: Running Perl Script As a Different User