install extra dependencies before head dependencies