Robot: cleaned up robot script