Index: trunk/ippTasks/detrend.norm.pro
===================================================================
--- trunk/ippTasks/detrend.norm.pro	(revision 12371)
+++ trunk/ippTasks/detrend.norm.pro	(revision 12697)
@@ -155,5 +155,4 @@
     book getword detPendingNormStatImfile $pageName workdir   -var WORKDIR
     book getword detPendingNormStatImfile $pageName dbname    -var DBNAME
-    set_standard_args
 
     # specify choice of remote host:
@@ -175,8 +174,9 @@
     exec mkdir -p $outroot
 
-    $run = detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE $ARGS
+    $run = detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE
     if ("$WORKDIR" != "NULL")
       $run = $run --workdir $WORKDIR
     end
+    add_standard_args run
 
     # save the pageName for future reference below
@@ -277,5 +277,4 @@
     book getword detPendingNormImfile $pageName workdir   -var WORKDIR
     book getword detPendingNormImfile $pageName dbname    -var DBNAME
-    set_standard_args
 
     # specify choice of remote host:
@@ -298,8 +297,9 @@
     exec mkdir -p $outroot
 
-    $run = detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE $ARGS
+    $run = detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE
     if ("$WORKDIR" != "NULL")
       $run = $run --workdir $WORKDIR
     end
+    add_standard_args run
     
     # save the pageName for future reference below
@@ -397,5 +397,4 @@
     book getword detPendingNormExp $pageName workdir   -var WORKDIR
     book getword detPendingNormExp $pageName dbname    -var DBNAME
-    set_standard_args
 
     # specify choice of remote host:
@@ -418,8 +417,9 @@
     exec mkdir -p $outroot
 
-    $run = detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE  $ARGS
+    $run = detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE 
     if ("$WORKDIR" != "NULL")
       $run = $run --workdir $WORKDIR
     end
+    add_standard_args run
 
     # save the pageName for future reference below
