add restorelast command to anste-snapshot