adapt endrun and startrun to new UHTS lims