def METHOD_NAME(filename, plot=False):
    """
    this isn't run during testing, but should be edited to run on certain versions
    of phoebe to then store the .phoebe file in this directory and ensure it can
    be imported later
    """
    if LooseVersion(phoebe.__version__) >= LooseVersion("2.3"):
       raise ImportError("script runs on PHOEBE 2.2.x")
       exit()
    b = phoebe.default_binary()
    b.add_dataset('lc', times=np.linspace(0,1,11), passband='Johnson:V', Av=0.1)
    b.add_dataset('lc', times=np.linspace(0,1,11), passband='Johnson:R', Av=0.2)
    b.add_dataset('rv', times=phoebe.linspace(0,1,4))
    b.add_dataset('lp', times=phoebe.linspace(0,1,4), wavelengths=np.linspace(500,510,51))
    b.add_dataset('mesh', times=[0])
    b.run_compute()
    if plot:
        b.plot(show=True, time=0)
    b.save(os.path.join(dir, filename))