I currently use two basically identical scripts for archival; one for requesting and one for auto-updating. The former includes HTML and all that, the latter doesn't (since it doesn't need it). Making edits to two scripts is driving me batshit, and I just found a glaring error in the checking script that would have caused some problems.
So, I've made a single hybrid script containing both of the other scripts, and just differentiating what it does based on what I use to call it. The TL;DR is that I've made a major revision and if you see any weird shit, let me know immediately.