I was in the process of documenting my changes to the script in an orderly fashion, but I ended up having to “overhaul” it to get it to run properly. It might not be worth a detailed post to document all the changes; it may just have to stand on its own as a new script.