support directory args