Changed calibration script