Changed configuration variables to load from config file rather than environment variable