Change auto_performance to iterate over the tasks in numerical order
Add robot state restoration for phase 4 in order to have replayable results