def bunch_kwargs(parser, positional=[], **kwargs):
    """Makes object from arguments dict. used to have common interface
    for arguments passed to main() from command line or calling script."""
    arg = parser.parse_args(positional)
    vars(arg).update(kwargs)
    return arg
