Reformat config file