changed the way that the environment variables are set so they can be reloaded etc
change the permissions on the file to be executable