in reply to First Script

this looks like a permission problem.
things to check: Try running the script from the command line. If it runs, then the problem is most likely in the web server's configuration.

/\/\averick