Tidy the config file