changes a few things for loading packages