New code for process one runID

Just code, not tested!