Adding options for dir and keep-vcs-files.