Changed configuration variables to environment variables.