build and package