Addition to autosaving