added R script and updated some of the robot commands