update main calling script to use argparse