switch to argparse module for CLI parsing