Modified some scripts for the robot experiments;