Index: /trunk/ippScripts/scripts/register_exp.pl
===================================================================
--- /trunk/ippScripts/scripts/register_exp.pl	(revision 13784)
+++ /trunk/ippScripts/scripts/register_exp.pl	(revision 13785)
@@ -50,5 +50,10 @@
 # Define setup
 use constant TYPE => "exp_type"; # Observation type keyword
-use constant DETRENDS => [ "bias", "zero", "dark", "shutter", "flat", "fringe", "domeflat", "skyflat" ]; # Observation types to mark as detrend
+
+# should we reverse this?  add -detrend UNLESS type is OBJECT? (we can always queue to chip by hand...)
+# use constant DETRENDS => [ "bias", "zero", "dark", "shutter", "flat", "fringe", "domeflat", "skyflat" ]; # Observation types to mark as detrend
+# use constant DETREND_FLAG => "-detrend"; # Flag to use to mark detrend exposure
+
+use constant SCIENCE => [ "object" ]; # Observation types to NOT mark as detrend
 use constant DETREND_FLAG => "-detrend"; # Flag to use to mark detrend exposure
 
@@ -198,9 +203,9 @@
     
     # Add the detrend flag
-    foreach my $detrendType (@{DETRENDS()}) {
-        if (lc($values{TYPE()}) =~ /$detrendType/) {
-	    $command .= ' ' . DETREND_FLAG;
+    foreach my $scienceType (@{SCIENCE()}) {
+        if (lc($values{TYPE()}) =~ /$scienceType/) {
             last;
         }
+	$command .= ' ' . DETREND_FLAG;
     }
 
