arrange the config file