updated InstallPackages script