script check
rewrite help / cmd arg handling code