Modified script to install all packages.