added autosave

god help us all