I noticed that the script always overwrites the labels/labels.json file for each repo even if the file is the same. This may cause tools like rsync to re-sync those files if you have a script that clones your backups to another machine for example. It also causes a bunch of unnecessary disk writes which always have some--if small--chance of causing data corruption.
Rather than just overwriting these files, the script should compare the file on disk with the file that will be written and only write a new file if the labels have changed.
I'll make and test this change then submit a PR for this soon.