Index: trunk/ippTasks/register.pro
===================================================================
--- trunk/ippTasks/register.pro	(revision 12361)
+++ trunk/ippTasks/register.pro	(revision 12697)
@@ -142,5 +142,4 @@
     book getword regPendingImfile $pageName workdir -var WORKDIR
     book getword regPendingImfile $pageName dbname -var DBNAME
-    set_standard_args
 
     # specify choice of remote host
@@ -162,9 +161,12 @@
     options $pageName
 
+    $run = register_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI
+    add_standard_args run
+
     # create the command line
     if ($VERBOSE > 1)
-      echo command register_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI $ARGS
-    end
-    command register_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI $ARGS
+      echo command $run
+    end
+    command $run
   end
 
@@ -247,5 +249,4 @@
     book getword regPendingExp $pageName workdir -var WORKDIR
     book getword regPendingExp $pageName dbname -var DBNAME
-    set_standard_args
 
     # specify choice of remote host:(need to choose based on chips)
@@ -267,9 +268,12 @@
     options $pageName
 
+    $run = register_exp.pl --exp_tag $EXP_TAG
+    add_standard_args run
+
     # create the command line
     if ($VERBOSE > 1)
-      echo command register_exp.pl --exp_tag $EXP_TAG $ARGS
-    end
-    command register_exp.pl --exp_tag $EXP_TAG $ARGS
+      echo command $run
+    end
+    command $run
   end
 
