modern loading of packages