Version revisions of many applications provide upgrade scripts to, for example, database tables upon which those applications rely. Indeed, back in the day, when providing new language features for the PLATO network, I wrote a program that went through all source code of all users and converted them to work with the new version of TUTOR. While I am aware of the fact that Mathematica is far more sophisticated as a programming language, and therefore completely automated upgrades are not feasible, there must be many routine tasks that could be automated.
Are there any such scripts written in any language(s)?