added some checks for the built package