added functions to install list of packages.