get all packages from the script