Use built-in commands in undo script