Moving dependencies fetch to a function on installer