I got a groovy script that works fine up until it gets too long.
eg.:"String too long. The given string is 94073 Unicode code units long, but only a maximum of 6