Fix callibration script.