write run details to result file headers