Use own function to install packages.