You are not allowed to run this script from a web browser, but only from the command line