add enable_save_on_restart.
Merge pull request #22 from hansode/enable-save-on-restart

add enable_save_on_restart.