handling manage_config_file properly