support directory input
update usage display