It works, it just smokes Graal's proverbial wheels. Keeping in mind there are like 4000 some tiles on a level, I am not sure Graal's engine can handle arrays or lists that long.
Also, it was uncalled for to insinuate that I am incapable of improving the script. It would have been more appropriate to give a constructive challenge.