parse falgs, fix vcs commands