added env variable support for config