I found some old posts with reference to that script, but now it seems to be gone?
This script is obsolete, this can be e.g. done via Tools > Batch Processing… > Add Tags.
Or this script
wow, another menu I never used before - very helpful, thanks
This is also very handsome, thanks