autosave and manual save working nicely