move pipeline_Process_with_prethunk etc. to Utils