add some global options
implement quiet option