A simple autosave script for sfm