Added ability to save settings