Extract options as global variables.
Regard rolling back message as error message.