Minor changes to make it run on the shared web server