addded script to get motor step response