First part of modification to "run_workflow" script