Added automatic installation of dependencies