def run_subjects(subjlist, input_bucket, do_wait=True):
    response = []
    for subj in subjlist:
        response.append(run_task(client, command=['/usr/local/miniconda/bin/fmriprep-cusacklab.bash', input_bucket, subj, 'bids', 'deriv-2_topup']))
    if do_wait:
        wait_for_completion(client, response)
    return response
def run_subjects(subjlist, input_bucket, do_wait=True):
    response = []
    for subj in subjlist:
        response.append(run_task(client, command=['/usr/local/miniconda/bin/fmriprep-cusacklab.bash', input_bucket, subj, 'bids', 'deriv-2_topup']))
    if do_wait:
        wait_for_completion(client, response)
    return response