Calibrate script