prepare stuff for making code into a package