Add option for toggling autosave behavior

Default to false