can now read/write settings file!