Index: trunk/ippScripts/scripts/detrend_norm_calc.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 9821)
+++ trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 9869)
@@ -41,5 +41,6 @@
     'dark' => 0,
     'shutter' => 0,
-    'flat' => 1
+    'flat' => 1,
+    'fringe' => 0,
     }; 
 
Index: trunk/ippScripts/scripts/detrend_process_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 9821)
+++ trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 9869)
@@ -44,4 +44,5 @@
     'shutter' => 'PPIMAGE_OBD',	 # Overscan, bias and dark only
     'flat'    => 'PPIMAGE_OBDS', # Overscan, bias, dark and shutter only
+    'fringe'  => 'PPIMAGE_OBDSF',# Overscan, bias, dark, shutter and flat only
 };
 
Index: trunk/ippScripts/scripts/detrend_resid.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_resid.pl	(revision 9821)
+++ trunk/ippScripts/scripts/detrend_resid.pl	(revision 9869)
@@ -50,4 +50,5 @@
     'shutter' => 'PPIMAGE_S',	# Shutter only
     'flat' => 'PPIMAGE_F',	# Flat-field only
+    'fringe' => 'PPIMAGE_R',	# Fringe only
 };
 
@@ -58,4 +59,5 @@
     'shutter' => '-shutter',	# Specify the shutter frame
     'flat' => '-flat',		# Specify the flat frame
+    'fringe' => '-fringe',	# Specify the fringe frame
 };
 
Index: trunk/ippScripts/scripts/detrend_stack.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_stack.pl	(revision 9821)
+++ trunk/ippScripts/scripts/detrend_stack.pl	(revision 9869)
@@ -44,5 +44,6 @@
     'dark' => 'PPMERGE_DARK',
     'shutter' => 'PPMERGE_SHUTTER',
-    'flat' => 'PPMERGE_FLAT'
+    'flat' => 'PPMERGE_FLAT',
+    'fringe' => 'PPMERGE_FRINGE',
     };
 
