def METHOD_NAME():
    # examples which we're not going to run in CI
    # widget.py opens a window and does a bunch of openGL stuff
    ci_blacklist = ['widget.py',
                    'voxel.py',
                    'voxel_fillers.py',
                    'voxel_silhouette.py']
    if "examples" in sys.argv:
        out_path = sys.argv[sys.argv.index("examples") + 1]
        render_examples(out_path)
    elif "exec" in sys.argv:
        # exec the script passed
        file_name = sys.argv[sys.argv.index("exec") + 1].strip()
        # we want to skip some of these examples in CI
        if 'ci' in sys.argv and os.path.basename(file_name) in ci_blacklist:
            log.debug('{} in CI blacklist: skipping!'.format(file_name))
            return
        # skip files that don't exist
        if not os.path.exists(file_name):
            return
        if file_name.lower().endswith('.ipynb'):
            # ipython notebooks
            with open(file_name, 'r') as file_obj:
                script = load_notebook(file_obj)
        elif file_name.lower().endswith('.py'):
            # regular python files
            with open(file_name, 'r') as file_obj:
                script = exclude_calls(file_obj.read().split('\n'))
        else:
            # skip other types of files
            return
        log.debug('running {}'.format(file_name))
        try:
            exec(script, globals())
        except BaseException as E:
            log.debug(
                'failed {}!\n\nscript was:\n{}\n\n'.format(
                    file_name, script))
            raise E