removed the debug script. now refreshing the environment variables when the script starts up