big updates to ptk and autopackage