refactor_config