Can we rename this variable to something else? flagtmp kind of implies to me that this is a runtime thing, but it's actually saved to file as well. Maybe flagclean ..