I think maybe you had troubles with the script because if the fonts has the same family name it crashes. I have to rewrite it. I made this script in a rush, thanks for reminder.
Btw, for future cases if you use one of my scripts and you find bugs mention me here in the forum or contact me via twitter, github or something. Every input is useful.