Changed installation flow to avoid overwriting dependencies.