Added env support for config.