Simple packaging script

This rather grew, but this contains all the extra work done on netkes in getting this into a streamlined deployment script.