Trying to resolve chained dependencies automatically