Modify the settings file to new format