Please find attached my files as requested. I wasn't sure which script files to include, and the folder had a lot of them, so I included the most recent ones.
The problem here is that I got the warning event, even though I have way over 100 line elements in the areas listed.