Added code to save config file.