|1) Unless you're running this script in an add on POSIX environment, it's probably not a shell script.|
2) What gives the popup? The script, or some program the script calls?
3) Why don't you show the script in question?
How To Ask Questions The Smart Way