Index: trunk/ippTasks/detrend.reject.pro
===================================================================
--- trunk/ippTasks/detrend.reject.pro	(revision 10692)
+++ trunk/ippTasks/detrend.reject.pro	(revision 10723)
@@ -53,5 +53,6 @@
 
   task.exec
-    command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20}
+    # command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20}
+    command dettool -residdetrun -simple
   end
 
@@ -83,14 +84,10 @@
   # locked list
   task.exit    default
-    if ($VERBOSE) 
-      echo       "detrend.reject: failure"
-    end
+    showcommand failure
   end
 
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE) 
-      echo       "detrend.reject: timeout"
-    end
+    showcommand failure
   end
 end
@@ -123,5 +120,6 @@
     $ITER     = $word:1
     $DET_TYPE = $word:2
-    $CAMERA   = $word:3
+    $MODE     = $word:3
+    $CAMERA   = $word:4
 
     # I'd like to add CAMERA to the log file...
@@ -151,7 +149,5 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE)
-      echo "failure detrend_reject_exp.pl $options:0"
-    end
+    showcommand failure
     queuepush DetrendRejectExp -replace -key 1:2 "FAIL $options:0"
     $DetrendRejectExpFail ++
@@ -160,7 +156,5 @@
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE)
-      echo "failure detrend_reject_exp.pl $options:0"
-    end
+    showcommand failure
     queuepush DetrendRejectExp -replace -key 1:2 "TIMEOUT $options:0"
    $DetrendRejectExpFail ++
