Removed unnecessary saveConfig