So, every script seems to be a 900+ line bash script, with largely the same boilerplate, and the actual checks/fixes are just one-liners.
While wrapping possibly complex/tricky one-liners with an easy to use shell script makes sense, it seems like they could be optimised to re-use most of the boilerplate in a library file.