(bugfix)
the way this script works is really simple... it copies a dirfull of files, renames a couple then points everything at the new package.
I didn't set the package-name and pretty-plural values, so they took their value from the package copied from, which means they won't be unique as required by a database constraint.
So this update makes sure there are unique string values in those two variables, and when testing by trying to install the generated package showed the package installed without any problems.
-Jim