updated pipeline script