Fixed pipeline script