added cli parser, input opts