Moved env variables to settings

Env variables are now defined in settings.