Index: trunk/ippScripts/scripts/detrend_resid_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_resid_imfile.pl	(revision 19127)
+++ trunk/ippScripts/scripts/detrend_resid_imfile.pl	(revision 19374)
@@ -110,10 +110,13 @@
     'dark_premask'     => '-dark',      # Specify the dark frame
     'shutter'  	       => '-shutter',   # Specify the shutter frame
+    'flat_premask'     => '-flat',      # Specify the flat frame
+    'domeflat_premask' => '-flat',      # Specify the flat frame
+    'skyflat_premask'  => '-flat',      # Specify the flat frame
+    'flat_raw'         => '-flat',      # Specify the flat frame
+    'domeflat_raw'     => '-flat',      # Specify the flat frame
+    'skyflat_raw'      => '-flat',      # Specify the flat frame
     'flat'     	       => '-flat',      # Specify the flat frame
     'domeflat' 	       => '-flat',      # Specify the flat frame
     'skyflat'  	       => '-flat',      # Specify the flat frame
-    'flat_premask'     => '-flat',      # Specify the flat frame
-    'domeflat_premask' => '-flat',      # Specify the flat frame
-    'skyflat_premask'  => '-flat',      # Specify the flat frame
     'fringe'   	       => '-fringe',    # Specify the fringe frame
     'mask'     	       => '-mask',      # Specify the mask frame
