Automatic installation of dependencies