Modify config to environment variables.