Index: trunk/ippTasks/detrend.process.pro
===================================================================
--- trunk/ippTasks/detrend.process.pro	(revision 12670)
+++ trunk/ippTasks/detrend.process.pro	(revision 12697)
@@ -144,5 +144,4 @@
     book getword detPendingProcessedImfile $pageName workdir  -var WORKDIR
     book getword detPendingProcessedImfile $pageName dbname   -var DBNAME
-    set_standard_args
 
     # specify choice of remote host:
@@ -165,8 +164,9 @@
     exec mkdir -p $outroot
 
-    $run = detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA $ARGS
+    $run = detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA
     if ("$WORKDIR" != "NULL")
       $run = $run --workdir $WORKDIR
     end
+    add_standard_args run
 
     # save the pageName for future reference below
@@ -266,5 +266,4 @@
     book getword detPendingProcessedExp $pageName workdir   -var WORKDIR
     book getword detPendingProcessedExp $pageName dbname    -var DBNAME
-    set_standard_args
 
     # specify choice of remote host:
@@ -287,8 +286,9 @@
     exec mkdir -p $outroot
 
-    $run = detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS
+    $run = detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA
     if ("$WORKDIR" != "NULL")
       $run = $run --workdir $WORKDIR
     end
+    add_standard_args run
 
     # save the pageName for future reference below
