Updated to find all packages automatically