syntax fixes to pipeline script