PackageMaker and Installer are smart enough to do everything that the script did (and better cause there's was a bug in the script that won't upgrade the extensions if they're already installed).