I would move away from text-based programming and try a visual metaphor approach, especially on the ipad when touch/gesture are fundamentally easier for kids to learn, i.e. replace "grow" with growing animation of the dinosaur
Take a look at what http://launchpadtoys.com/toontastic/ is doing for animation/story-telling.