autosave variables to file added, working