add support for config in different deployment environment.