some more work on the pacakging scripts