Improved build script to also package build