add unit conversion to pipeline and create pipeline_run utility