add --mirror and more