minor changes on calibration script