removed non-working error handing
improved handling of verbose switch