pdr calibration scripts