renamed switch_config_parser