Index: branches/eam_branch_00/ippTasks/detrend.process.pro
===================================================================
--- branches/eam_branch_00/ippTasks/detrend.process.pro	(revision 11012)
+++ branches/eam_branch_00/ippTasks/detrend.process.pro	(revision 11019)
@@ -110,5 +110,8 @@
 
     # create example job options as a demonstration
-    setcommand detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --input_uri $URI --camera $CAMERA
+    if ($VERBOSE > 1)
+      echo command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --input_uri $URI --camera $CAMERA
+    end
+    command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --input_uri $URI --camera $CAMERA
   end
 
@@ -151,5 +154,5 @@
   task.exit    0
     # convert 'stdout' to book format
-    ipptool2book stdout DetrendProcessExposures -key det_id:iter:exp_tag -uniq
+    ipptool2book stdout DetrendProcessExposures -key det_id:iteration:exp_tag -uniq
     if ($VERBOSE > 2)
       book listbook DetrendProcessExposures
@@ -187,9 +190,9 @@
 
     book setword DetrendProcessExposures $pageName state RUN
-    book getword DetrendProcessExposures $pageName det_id   -var DET_ID
-    book getword DetrendProcessExposures $pageName iter	    -var ITER
-    book getword DetrendProcessExposures $pageName det_type -var DET_TYPE
-    book getword DetrendProcessExposures $pageName exp_tag  -var EXP_TAG
-    book getword DetrendProcessExposures $pageName camera   -var CAMERA  
+    book getword DetrendProcessExposures $pageName det_id    -var DET_ID
+    book getword DetrendProcessExposures $pageName iteration -var ITERATION
+    book getword DetrendProcessExposures $pageName det_type  -var DET_TYPE
+    book getword DetrendProcessExposures $pageName exp_tag   -var EXP_TAG
+    book getword DetrendProcessExposures $pageName camera    -var CAMERA  
 
     # specify choice of remote host:
