Ok, so near as I can tell there is a 1022 character limit per line of a script. Anything more and it breaks.

Mildly annoying, but it should still be doable.