Improve installation of packages