added undo config so people can undo the last operation