Index: trunk/ippTasks/detrend.norm.pro
===================================================================
--- trunk/ippTasks/detrend.norm.pro	(revision 10692)
+++ trunk/ippTasks/detrend.norm.pro	(revision 10723)
@@ -54,5 +54,6 @@
 
   task.exec
-    command      dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20}
+    # command      dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20}
+    command      dettool -tonormalizedstat -simple
   end
 
@@ -86,14 +87,10 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE) 
-      echo       "detrend.norm: failure"
-    end
-  end
-
-  # operation times out?
-  task.exit    timeout
-    if ($VERBOSE) 
-      echo       "detrend.norm: timeout"
-    end
+    showcommand failure
+  end
+
+  # operation times out?
+  task.exit    timeout
+    showcommand timeout
   end
 end
@@ -153,7 +150,5 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE)
-      echo "failure detrend_norm_calc.pl $options:0"
-    end
+    showcommand failure
     queuepush DetrendNormStat -replace -key 1:3 "FAIL $options:0"
     $DetrendNormStatFail ++
@@ -162,7 +157,5 @@
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE)
-      echo "failure detrend_norm_calc.pl $options:0"
-    end
+    showcommand timeout
     queuepush DetrendNormStat -replace -key 1:3 "TIMEOUT $options:0"
    $DetrendNormStatFail ++
@@ -184,5 +177,6 @@
 
   task.exec
-    command      dettool -tonormalize -simple -limit {$DetrendNormFail + 20}
+    # command      dettool -tonormalize -simple -limit {$DetrendNormFail + 20}
+    command      dettool -tonormalize -simple
   end
 
@@ -219,14 +213,10 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE) 
-      echo       "detrend.norm: failure"
-    end
-  end
-
-  # operation times out?
-  task.exit    timeout
-    if ($VERBOSE) 
-      echo       "detrend.norm: timeout"
-    end
+    showcommand failure
+  end
+
+  # operation times out?
+  task.exit    timeout
+    showcommand timeout
   end
 end
@@ -288,7 +278,5 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE)
-      echo "failure detrend_norm_apply.pl $options:0"
-    end
+    showcommand failure
     queuepush DetrendNorm -replace -key 4:5 "FAIL $options:0"
     $DetrendNormFail ++
@@ -297,7 +285,5 @@
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE)
-      echo "failure detrend_norm_apply.pl $options:0"
-    end
+    showcommand timeout
     queuepush DetrendNorm -replace -key 4:5 "TIMEOUT $options:0"
     $DetrendNormFail ++
@@ -319,5 +305,6 @@
 
   task.exec
-    command      dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20}
+    # command      dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20}
+    command      dettool -tonormalizedexp -simple
   end
 
@@ -344,5 +331,5 @@
       #$EXP_TYPE = $word:5
       #$IMFILES  = $word:6
-      queuepush DetrendNormalizeExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA"
+      queuepush DetrendNormExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA"
     end
 
@@ -354,14 +341,10 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE) 
-      echo       "detrend.norm: failure"
-    end
-  end
-
-  # operation times out?
-  task.exit    timeout
-    if ($VERBOSE) 
-      echo       "detrend.norm: timeout"
-    end
+    showcommand failure
+  end
+
+  # operation times out?
+  task.exit    timeout
+    showcommand timeout
   end
 end
@@ -425,18 +408,14 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE)
-      echo "failure detrend_norm_exp.pl $options:0"
-    end
+    showcommand failure
     queuepush DetrendNormExp -replace -key 1:2 "FAIL $options:0"
-   $DetrendNormExpFail ++
-  end
-
-  # operation times out?
-  task.exit    timeout
-    if ($VERBOSE)
-      echo "failure detrend_norm_exp.pl $options:0"
-    end
+    $DetrendNormExpFail ++
+  end
+
+  # operation times out?
+  task.exit    timeout
+    showcommand timeout
     queuepush DetrendNormExp -replace -key 1:2 "TIMEOUT $options:0"
-   $DetrendNormExpFail ++
-  end
-end
+    $DetrendNormExpFail ++
+  end
+end
