added updates to pwm pipeline script, and utility script to support CCAT