adding the duplex pipeline script