in reply to Copying complete module code into a script
As for the rights and wrongs, I believe this is ok as long as the licence permits it. You need to check that. At a minimum, you must:
After Compline,Zaxo