Index: trunk/ippTasks/simtest.pro
===================================================================
--- trunk/ippTasks/simtest.pro	(revision 19126)
+++ trunk/ippTasks/simtest.pro	(revision 19154)
@@ -2,6 +2,6 @@
 
 macro simtest
-  if ($0 != 5)
-    echo "USAGE: simtest (testroot) (dbname) (hostname) (init)"
+  if ($0 != 6)
+    echo "USAGE: simtest (testroot) (dbname) (hostname) (threads) (init)"
     echo " if (init) == 0, just run the analysis tasks"
     echo " if (init) == 1, (re)create the database and (re)inject the images"
@@ -13,6 +13,7 @@
   $dbname = $2
   $hostname = $3
+  $threads = $4
  
-  if ($4 > 0)
+  if ($5 > 0)
     # XXX this will fail and exit the script if the db does not exist or is old...
     exec pxadmin -delete -dbname $dbname
@@ -21,7 +22,7 @@
     exec pxadmin -create -dbname $dbname
 
-    if ($4 == 2)
+    if ($5 == 2)
       # the labels "wait" and "proc" are special names used in automate.pro
-      exec ppSimSequence $MODULES:0/$testroot.config $testroot.mkimages $testroot.inject -path raw -workdir work -dbname $dbname -label wait -dvodb DVO -tess_id TESS
+      exec ppSimSequence $MODULES:0/$testroot.config $testroot.mkimages $testroot.inject -path raw -workdir work -dbname $dbname -label wait -dvodb DVO -tess_id TESS -ppsim_recipe FLATCORR
       exec source $testroot.mkimages
 
