Index: /trunk/ippScripts/scripts/detrend_norm_calc.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 9336)
+++ /trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 9337)
@@ -40,4 +40,5 @@
     'bias' => 0,
     'dark' => 0,
+    'shutter' => 0,
     'flat' => 1
     }; 
Index: /trunk/ippScripts/scripts/detrend_process_imfile.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 9336)
+++ /trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 9337)
@@ -40,7 +40,8 @@
 # Recipes to use, as a function of the detrend type
 use constant RECIPES => {
-    'bias' => 'PPIMAGE_O',	# Overscan only
-    'dark' => 'PPIMAGE_OB',	# Overscan and bias only
-    'flat' => 'PPIMAGE_OBD',	# Overscan, bias and dark only
+    'bias'    => 'PPIMAGE_O',	 # Overscan only
+    'dark'    => 'PPIMAGE_OB',	 # Overscan and bias only
+    'shutter' => 'PPIMAGE_OBD',	 # Overscan, bias and dark only
+    'flat'    => 'PPIMAGE_OBDS', # Overscan, bias, dark and shutter only
 };
 
Index: /trunk/ippScripts/scripts/detrend_reject_exp.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 9336)
+++ /trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 9337)
@@ -36,4 +36,5 @@
     'bias' => 10,		# Should be fairly flat; some CRs
     'dark' => 100,		# Lots of CRs
+    'shutter' => 10,		# Should be less than 10 sec
     'flat' => undef		# Can't define expected value (depends on exposure level)
     };
@@ -44,4 +45,5 @@
     'bias' => 10, # Components should have the same degree of variation
     'dark' => 10, # Components should have the same degree of variation
+    'shutter' => undef,		# Might be significant variation
     'flat' => 10 # Components should have the same degree of variation
     };
@@ -52,4 +54,5 @@
     'bias' => 5,		# All images should be equally structured
     'dark' => 5,		# All images should be equally structured
+    'shutter' => 5,		# All images should be equally structured
     'flat' => 5 		# All images should be equally structured
     };
Index: /trunk/ippScripts/scripts/detrend_reject_imfile.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 9336)
+++ /trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 9337)
@@ -45,4 +45,5 @@
     'bias' => 0,		# Bias should be zero
     'dark' => 0,		# Dark should be zero
+    'shutter' => undef,		# Shutter could be anything (depends on exposure level)
     'flat' => undef		# Flat could be anything (depends on exposure level)
     };
@@ -53,4 +54,5 @@
     'bias' => 5,		# Should be fairly flat; some CRs
     'dark' => 10,		# Lots of CRs
+    'shutter' => undef,		# Can't define expected value (depends on exposure level)
     'flat' => undef		# Can't define expected value (depends on exposure level)
     };
@@ -61,4 +63,5 @@
     'bias' => 10,		# Should be fairly flat; some CRs
     'dark' => 100,		# Lots of CRs
+    'shutter' => undef,		# Can be significant structure
     'flat' => 1000		# Stars and galaxies
     };
@@ -69,4 +72,5 @@
     'bias' => 10,		# Should be little variation between chips
     'dark' => 100,		# Could be some glow on some chips
+    'shutter' => undef,		# Can't define expected value (depends on exposure level)
     'flat' => undef		# Can't define expected value (depends on exposure level)
     };
@@ -77,4 +81,5 @@
     'bias' => 10,		# Should be little variation between chips
     'dark' => 100,		# Could be some glow on some chips
+    'shutter' => undef,		# Can be significant structure
     'flat' => 500		# Could be features on some chips, but all should be about the same
     };
Index: /trunk/ippScripts/scripts/detrend_resid.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_resid.pl	(revision 9336)
+++ /trunk/ippScripts/scripts/detrend_resid.pl	(revision 9337)
@@ -48,4 +48,5 @@
     'bias' => 'PPIMAGE_B',	# Bias only
     'dark' => 'PPIMAGE_D',	# Dark only
+    'shutter' => 'PPIMAGE_S',	# Shutter only
     'flat' => 'PPIMAGE_F',	# Flat-field only
 };
@@ -55,4 +56,5 @@
     'bias' => '-bias',		# Specify the bias frame
     'dark' => '-dark',		# Specify the dark frame
+    'shutter' => '-shutter',	# Specify the shutter frame
     'flat' => '-flat',		# Specify the flat frame
 };
Index: /trunk/ippScripts/scripts/detrend_stack.pl
===================================================================
--- /trunk/ippScripts/scripts/detrend_stack.pl	(revision 9336)
+++ /trunk/ippScripts/scripts/detrend_stack.pl	(revision 9337)
@@ -43,4 +43,5 @@
     'bias' => 'PPMERGE_BIAS',
     'dark' => 'PPMERGE_DARK',
+    'shutter' => 'PPMERGE_SHUTTER',
     'flat' => 'PPMERGE_FLAT'
     };
Index: /trunk/ippScripts/scripts/phase0_exp.pl
===================================================================
--- /trunk/ippScripts/scripts/phase0_exp.pl	(revision 9336)
+++ /trunk/ippScripts/scripts/phase0_exp.pl	(revision 9337)
@@ -28,5 +28,5 @@
 # Define setup
 use constant TYPE => "exp_type"; # Observation type keyword
-use constant DETRENDS => [ "bias", "dark", "flat", "fringe" ]; # Observation types to mark as detrend
+use constant DETRENDS => [ "bias", "dark", "shutter", "flat", "fringe" ]; # Observation types to mark as detrend
 use constant DETREND_FLAG => "-detrend"; # Flag to use to mark detrend exposure
 
