Update of the script to test the robot