Added additional argument for local repository, modified comments