Index: branches/eam_branch_00/ippTasks/detrend.stack.pro
===================================================================
--- branches/eam_branch_00/ippTasks/detrend.stack.pro	(revision 11012)
+++ branches/eam_branch_00/ippTasks/detrend.stack.pro	(revision 11019)
@@ -45,5 +45,5 @@
   task.exit    0
     # convert 'stdout' to book format
-    ipptool2book stdout DetrendStackClass -key det_id:iter:class_id -uniq
+    ipptool2book stdout DetrendStackClass -key det_id:iteration:class_id -uniq
     if ($VERBOSE > 2)
       book listbook DetrendStackClass
@@ -81,9 +81,9 @@
 
     book setword DetrendStackClass $pageName state RUN
-    book getword DetrendStackClass $pageName det_id   -var DET_ID
-    book getword DetrendStackClass $pageName iter     -var ITER
-    book getword DetrendStackClass $pageName det_type -var DET_TYPE
-    book getword DetrendStackClass $pageName class_id -var CLASS_ID
-    book getword DetrendStackClass $pageName camera   -var CAMERA  
+    book getword DetrendStackClass $pageName det_id    -var DET_ID
+    book getword DetrendStackClass $pageName iteration -var ITERATION
+    book getword DetrendStackClass $pageName det_type  -var DET_TYPE
+    book getword DetrendStackClass $pageName class_id  -var CLASS_ID
+    book getword DetrendStackClass $pageName camera    -var CAMERA  
 
     # specify choice of remote host:
@@ -95,6 +95,6 @@
 
     # XXX add $WORKDIR/$LOG_DIR
-    stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER.$CLASS_ID.log
-    stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER.$CLASS_ID.log
+    stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.$CLASS_ID.log
+    stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.$CLASS_ID.log
 
     # save the pageName for future reference below
@@ -103,7 +103,7 @@
     # create the command line
     if ($VERBOSE > 1)
-      echo command detrend_stack.pl --det_id $DET_ID --iteration $ITER --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA
+      echo command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA
     end
-    command detrend_stack.pl --det_id $DET_ID --iteration $ITER --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA
+    command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA
   end
 
