Knock yourself out. Just paste
into your global while loop and the contents of that pastebin somewhere outside of your main global in your script file and you're good to go.
Sorry, I just saw this thread now.
It's also on the database for future ease of access.