Can't use main_config directly