made some changes to the selection_pipeline_script
'