Add support for environment based settings.