scripts to record accelero, distance and motor speed automatically