switch from optParse to argparse