Update and improve generated robots
commands is now an array, rather than a function
commands is now an array, rather than a function