removed build hive; added get-package helper function