Rewrite disable, end game, rollback logic