Add --upgrade-dependencies flag