Thank you to Ze Memerr for pointing out a fatal flaw with this script! If any name in the credits has any symbols in it that your computer does not allow to be in a filename, the initial version of this script would crash.
Now, there is a bit more set up that goes into getting this script working, but this fixes the issue with symbols in filenames.
I also made this into a plugin so it is easier to use.