Index: branches/eam_branches/ipp-pstamp-20260421/ippTasks/simtest.pro
===================================================================
--- branches/eam_branches/ipp-pstamp-20260421/ippTasks/simtest.pro	(revision 42989)
+++ branches/eam_branches/ipp-pstamp-20260421/ippTasks/simtest.pro	(revision 43016)
@@ -76,8 +76,21 @@
       # the labels "wait" and "proc" are special names used in automate.pro
     
-      # make a reference database
+      # make a reference database using refcat.fits
+      #
       mkref refcat 10
 
-      $ppsim = "ppSimSequence $SIMTEST_SEQUENCE simtest.mkimages simtest.inject -path $SIMTEST_RAWDIR -workdir $SIMTEST_WORKDIR -dbname $dbname -label wait -dvodb DVO -tess_id TESS -refcat refcat.catdir"
+      local mySeq
+      $mySeq = $SIMTEST_SEQUENCE
+      file $mySeq isFound
+      if (not($isFound))
+        $mySeq = $MODULES:0/$SIMTEST_SEQUENCE
+        file $mySeq isFound
+        if (not($isFound))
+          echo "cannot find the SIMTEST_SEQUENCE file $SIMTEST_SEQUENCE"
+	  break
+	end
+      end
+
+      $ppsim = "ppSimSequence $mySeq simtest.mkimages simtest.inject -path $SIMTEST_RAWDIR -workdir $SIMTEST_WORKDIR -dbname $dbname -label wait -dvodb DVO -tess_id TESS -refcat refcat.catdir"
       if ("$PPSIM_RECIPE" != "default") 
          $ppsim = $ppsim -ppsim_recipe $PPSIM_RECIPE
@@ -85,4 +98,5 @@
       $ppsim = $ppsim -camera $SIMTEST_CAMERA
 
+      echo $ppsim
       exec $ppsim
 
@@ -106,5 +120,23 @@
   module automate.pro
 
-  module.tasks
+  if (1)
+    module register.pro
+    module detrend.process.pro
+    module detrend.stack.pro
+    module detrend.norm.pro
+    module detrend.resid.pro
+    module detrend.reject.pro
+    module detrend.correct.pro
+#   module flatcorr.pro
+    module chip.pro
+    module camera.pro
+#   module addstar.pro
+    module fake.pro
+    module warp.pro
+    module diff.pro
+    module stack.pro
+  else
+    module.tasks
+  end
 
   add.label proc
@@ -120,5 +152,17 @@
   automate.load $SIMTEST_AUTO $SIMTEST_CAMERA $dbname
 
-  tasks.revert.off
+  # module.tasks loads these
+  if (1) 
+    register.revert.off
+    detrend.revert.off
+  # flatcorr.revert.off
+    chip.revert.off
+    camera.revert.off
+  # addstar.revert.off
+    fake.revert.off
+    warp.revert.off
+    diff.revert.off
+    stack.revert.off
+  end
 
   run
