updates to makepackage script and control file