The script works on the console, but not on the Webserver, is there an easy way to make it work on the Webserver?