Updated config to allow use of env variables.