Code and instructions for robot redo