switch priority of loading the config, use production-config first.