Issue #112 - add autoSave plugin and flag

fix for #122