That's brilliant! It sounds much easier than the previous approach. I have zipped four months' worth of data if you want to play with it. Let me know if you want me to upload some more.
I must say I am not familiar at all with arrays, would you mind pointing me to some additional information ? And possibly copy the start of a script?