diff --git a/NAERSTADMO.py b/NAERSTADMO.py
index 97492bb5bc94894b2542615065699701ce77b0c3..259d3fd4a5997f04c47ba6418701fa44d2cbf0cb 100644
--- a/NAERSTADMO.py
+++ b/NAERSTADMO.py
@@ -69,9 +69,9 @@ outtmp_path = f"out/{year}/"
 os.makedirs(outtmp_path, exist_ok=True)
 tmpfile_path = f"tmp/{year}/"
 os.makedirs(tmpfile_path, exist_ok=True)
-outfile_path = f"{os.getenv("DATA_DIR")}{year}/"
+outfile_path = f"{os.getenv('DATA_DIR')}{year}/"
 os.makedirs(outfile_path, exist_ok=True)
-mapfile_outdir = f"{os.getenv("MAPFILE_DIR")}{year}/"
+mapfile_outdir = f"{os.getenv('MAPFILE_DIR')}{year}/"
 os.makedirs(mapfile_outdir, exist_ok=True)
 
 bg_filename = f"{tmpfile_path}background_data.nc"