Can you remove the VERY long scripts that you posted? The issue is not really about the content of the scripts themselves, so they are not adding to the post. Instead, we have to scroll all the way to the bottom of the page to respond.

Don’t post massive scripts. We’re all volunteers and we don’t have time to read all that, nor will we copy, paste, and run it. Post an excerpt, and clearly state what you’re having problems with.