using packages.xml to charge the packages array