BTS_airlines.py not wrapped in function
Importing this module is causing errors due to a required local file

https://github.com/USEPA/flowsa/blob/ghgi-recursive-yaml/flowsa/data_source_scripts/BTS_Airlines.py

https://github.com/USEPA/flowsa/blob/d7c9403491c3b2fe45910bbee938369e7c5602c2/flowsa/data_source_scripts/BTS_Airlines.py#L6-L7

This should be wrapped inside a function.
diff --git a/flowsa/data_source_scripts/BTS_Airlines.py b/flowsa/data_source_scripts/BTS_Airlines.py
index 061d16ea..bfb36564 100644
--- a/flowsa/data_source_scripts/BTS_Airlines.py
+++ b/flowsa/data_source_scripts/BTS_Airlines.py
@@ -3,31 +3,33 @@ import numpy as np
 from flowsa.flowby import FlowByActivity
 from flowsa import flowsa_yaml, settings
 
-with open(f'{settings.sourceconfigpath}BTS_Airlines.yaml') as f:
-    config = flowsa_yaml.load(f)
 
-year_list = config['years']
+def generate_fba():
+    with open(f'{settings.sourceconfigpath}BTS_Airlines.yaml') as f:
+        config = flowsa_yaml.load(f)
 
-df = pd.DataFrame(FlowByActivity((
-    pd.read_csv(config['file_path'])
-    [[c for c in config['parse']['rename_columns']]]
-    .rename(columns=config['parse']['rename_columns'])
-    .query('Year in @year_list')
-    .reset_index(drop=True)
-    .groupby('Year').agg('sum').reset_index()
-    .assign(
-        Class='Fuel',
-        Compartment='air',
-        SourceName='BTS_Airlines',
-        LocationSystem='FIPS_2015',
-        ActivityConsumedBy='Commercial Aircraft',
-        Unit='gal',
-        FlowName='Total Gallons Consumed',
-        FlowType='TECHNOSPHERE_FLOW',
-        Location='00000',
-        DataReliability=3,
-        DataCollection=5
-    )
-)))
+    year_list = config['years']
 
-df.to_parquet(f'{settings.fbaoutputpath}BTS_Airlines.parquet')
+    df = pd.DataFrame(FlowByActivity((
+        pd.read_csv(config['file_path'])
+        [[c for c in config['parse']['rename_columns']]]
+        .rename(columns=config['parse']['rename_columns'])
+        .query('Year in @year_list')
+        .reset_index(drop=True)
+        .groupby('Year').agg('sum').reset_index()
+        .assign(
+            Class='Fuel',
+            Compartment='air',
+            SourceName='BTS_Airlines',
+            LocationSystem='FIPS_2015',
+            ActivityConsumedBy='Commercial Aircraft',
+            Unit='gal',
+            FlowName='Total Gallons Consumed',
+            FlowType='TECHNOSPHERE_FLOW',
+            Location='00000',
+            DataReliability=3,
+            DataCollection=5
+        )
+    )))
+
+    df.to_parquet(f'{settings.fbaoutputpath}BTS_Airlines.parquet')
['flowsa/data_source_scripts/BTS_Airlines.py']