Index: trunk/ippScripts/scripts/phase0_exp.pl
===================================================================
--- trunk/ippScripts/scripts/phase0_exp.pl	(revision 10145)
+++ trunk/ippScripts/scripts/phase0_exp.pl	(revision 10534)
@@ -31,5 +31,5 @@
 # Define setup
 use constant TYPE => "exp_type"; # Observation type keyword
-use constant DETRENDS => [ "bias", "dark", "shutter", "flat", "fringe" ]; # Observation types to mark as detrend
+use constant DETRENDS => [ "bias", "zero", "dark", "shutter", "flat", "fringe" ]; # Observation types to mark as detrend
 use constant DETREND_FLAG => "-detrend"; # Flag to use to mark detrend exposure
 
@@ -154,5 +154,5 @@
     # Add the detrend flag
     foreach my $detrendType (@{DETRENDS()}) {
-        if (lc($values{TYPE()}) eq lc($detrendType)) {
+        if (lc($values{TYPE()}) =~ /$detrendType/) {
 	    push @command, DETREND_FLAG;
             last;
