Index: trunk/ippTasks/flatcorr.pro
===================================================================
--- trunk/ippTasks/flatcorr.pro	(revision 25761)
+++ trunk/ippTasks/flatcorr.pro	(revision 25785)
@@ -17,5 +17,5 @@
 
 macro flatcorr.on
-  task flatcorr.addcamera
+  task flatcorr.advancecamera
     active true
   end
@@ -29,5 +29,5 @@
 
 macro flatcorr.off
-  task flatcorr.addcamera
+  task flatcorr.advancecamera
     active false
   end
@@ -41,5 +41,5 @@
 
 # these variables will cycle through the known ippdb database names
-$flatcorr_addcamera_DB = 0
+$flatcorr_advancecamera_DB = 0
 $flatcorr_pendingprocess_DB = 0
 
@@ -55,5 +55,5 @@
 # as the chip analysis progresses, we need to occasionally migrate the
 # completed chips to the camera stage by calling:
-# flatcorr -addcamera 
+# flatcorr -advancecamera 
 
 # we wait for the completed chip and camera analysis and search for
@@ -68,5 +68,5 @@
 
 # migrate complete flatcorr chips to the camera stage analysis
-task	       flatcorr.addcamera
+task	       flatcorr.advancecamera
   host         local
 
@@ -80,12 +80,12 @@
     # define the command (does not depend on previous queries)
     if ($DB:n == 0)
-      command flatcorr -addcamera
+      command flatcorr -advancecamera
     else
       # save the DB name for the exit tasks
       # note that this DB name refers to the ippdb, not the dvodb
-      option $DB:$flatcorr_addcamera_DB
-      command flatcorr -addcamera -dbname $DB:$flatcorr_addcamera_DB
-      $flatcorr_addcamera_DB ++
-      if ($flatcorr_addcamera_DB >= $DB:n) set flatcorr_addcamera_DB = 0
+      option $DB:$flatcorr_advancecamera_DB
+      command flatcorr -advancecamera -dbname $DB:$flatcorr_advancecamera_DB
+      $flatcorr_advancecamera_DB ++
+      if ($flatcorr_advancecamera_DB >= $DB:n) set flatcorr_advancecamera_DB = 0
     end
   end
@@ -123,4 +123,5 @@
   periods      -exec $LOADEXEC
   periods      -timeout 60
+  active false
   npending 1
 
@@ -179,4 +180,5 @@
   periods      -exec $LOADEXEC
   periods      -timeout 60
+  active false
 
   # silently drop stdout
