added function to install common packages