Added script for CPD