fix error handling
add more options to itsalive
add options to migrate-oplog