Index: trunk/ippTasks/detrend.norm.pro
===================================================================
--- trunk/ippTasks/detrend.norm.pro	(revision 10723)
+++ trunk/ippTasks/detrend.norm.pro	(revision 10745)
@@ -54,6 +54,5 @@
 
   task.exec
-    # command      dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20}
-    command      dettool -tonormalizedstat -simple
+    command      dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20}
   end
 
@@ -177,6 +176,5 @@
 
   task.exec
-    # command      dettool -tonormalize -simple -limit {$DetrendNormFail + 20}
-    command      dettool -tonormalize -simple
+    command      dettool -tonormalize -simple -limit {$DetrendNormFail + 20}
   end
 
@@ -305,6 +303,5 @@
 
   task.exec
-    # command      dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20}
-    command      dettool -tonormalizedexp -simple
+    command      dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20}
   end
 
Index: trunk/ippTasks/detrend.process.pro
===================================================================
--- trunk/ippTasks/detrend.process.pro	(revision 10723)
+++ trunk/ippTasks/detrend.process.pro	(revision 10745)
@@ -57,7 +57,5 @@
 
   task.exec
-    # XXX dettool needs -limit command
-    # command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20}
-    command dettool -toprocessedimfile -simple
+    command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20}
   end
 
@@ -191,6 +189,5 @@
 
   task.exec
-    # command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20}
-    command dettool -toprocessedexp -simple
+    command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20}
   end
 
Index: trunk/ippTasks/detrend.reject.pro
===================================================================
--- trunk/ippTasks/detrend.reject.pro	(revision 10723)
+++ trunk/ippTasks/detrend.reject.pro	(revision 10745)
@@ -53,6 +53,5 @@
 
   task.exec
-    # command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20}
-    command dettool -residdetrun -simple
+    command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20}
   end
 
Index: trunk/ippTasks/detrend.resid.pro
===================================================================
--- trunk/ippTasks/detrend.resid.pro	(revision 10723)
+++ trunk/ippTasks/detrend.resid.pro	(revision 10745)
@@ -58,6 +58,5 @@
 
   task.exec
-    # command dettool -toresidimfile -simple -limit {$DetrendResidImfileFail + 20}
-    command dettool -toresidimfile -simple
+    command dettool -toresidimfile -simple -limit {$DetrendResidImfileFail + 20}
   end
 
@@ -146,4 +145,5 @@
     stdout $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITER.$CLASS_ID.log
     stderr $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITER.$CLASS_ID.log
+    exec mkdir -p $LOGSUBDIR/$base
 
     # specify choice of remote host:
@@ -197,6 +197,5 @@
 
   task.exec
-  # command      dettool -toresidexp -simple -limit {$DetrendResidExpFail + 20}
-  command      dettool -toresidexp -simple
+    command      dettool -toresidexp -simple -limit {$DetrendResidExpFail + 20}
   end
 
Index: trunk/ippTasks/detrend.stack.pro
===================================================================
--- trunk/ippTasks/detrend.stack.pro	(revision 10723)
+++ trunk/ippTasks/detrend.stack.pro	(revision 10745)
@@ -53,6 +53,5 @@
 
   task.exec
-    # command dettool -tostacked -simple -limit {$DetrendStackClassFail + 20}
-    command dettool -tostacked -simple
+    command dettool -tostacked -simple -limit {$DetrendStackClassFail + 20}
   end
 
Index: trunk/ippTasks/pantasks.pro
===================================================================
--- trunk/ippTasks/pantasks.pro	(revision 10723)
+++ trunk/ippTasks/pantasks.pro	(revision 10745)
@@ -7,6 +7,6 @@
 # $scripts = $HOME/src/pantasks/ipp/ippTasks
 $scripts = .
-# $LOGDIR = `ipp_datapath.pl path://ESSENCE`
-$LOGDIR = `ipp_datapath.pl path://SIMTEST`
+$LOGDIR = `ipp_datapath.pl path://ESSENCE`
+# $LOGDIR = `ipp_datapath.pl path://SIMTEST`
 
 $LOGDIR = $LOGDIR/logs
@@ -21,9 +21,9 @@
   if ($parallel) 
     controller exit true
-    controller host add alala
-#    controller host add sn2
-#    controller host add sn3
-#    controller host add sn4
-#    controller host add sn5
+#    controller host add alala
+    controller host add sn2
+    controller host add sn3
+    controller host add sn4
+    controller host add sn5
 #    controller host add sn6
 # sn7 serves the disk
