prep for package generation