added --path-dir