Adding environment variables support for configuration.