moved installation of packages