added switch for whether execute vcs repo