Reconfigured the getting and building of the packages.