use this script file, run it before connecting the sensors.