save the run in the xml