UP: Refactored subsample for argparse