smartmotor calibration script