I got there in there in the end. I had problems with the iteration updating and also with my solution I could only seem to output with the render tool. Probably need to do more work on Apps anyhow.
The other thing- why does it not let me upload a package file anyone?