Index: branches/simtest_nebulous_branches/ippTasks/simtest.stack.auto
===================================================================
--- branches/simtest_nebulous_branches/ippTasks/simtest.stack.auto	(revision 25061)
+++ branches/simtest_nebulous_branches/ippTasks/simtest.stack.auto	(revision 27840)
@@ -26,5 +26,5 @@
   name       STR SHUTTER
   check      STR "detselect -search -inst @CAMERA@ -det_type DARK -dbname @DBNAME@"
-  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type SHUTTER -filter r -select_exp_type FLAT -select_filter r -dbname @DBNAME@"
+  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type SHUTTER -filter r -select_exp_type SKYFLAT -select_filter r -dbname @DBNAME@"
   block      STR "dettool -runs -active -det_type SHUTTER -dbname @DBNAME@"
 END
@@ -33,5 +33,5 @@
   name       STR FLAT-r
   check      STR "detselect -search -inst @CAMERA@ -det_type SHUTTER -dbname @DBNAME@"
-  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter r -select_exp_type FLAT -select_filter r -dbname @DBNAME@"
+  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter r -select_exp_type SKYFLAT -select_filter r -dbname @DBNAME@"
   block      STR "dettool -runs -active -det_type FLAT -filter r -dbname @DBNAME@"
 END
@@ -40,5 +40,5 @@
   name       STR FLAT-i
   check      STR "detselect -search -inst @CAMERA@ -det_type SHUTTER -dbname @DBNAME@"
-  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter i -select_exp_type FLAT -select_filter i -dbname @DBNAME@"
+  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter i -select_exp_type SKYFLAT -select_filter i -dbname @DBNAME@"
   block      STR "dettool -runs -active -det_type FLAT -filter i -dbname @DBNAME@"
 END
@@ -61,5 +61,5 @@
 automate METADATA
   name       STR STACK
-  regular    STR "stacktool -definebyquery -all -label proc -workdir file://@CWD@/stack -min_new 4 -min_frac 2 -select_good_frac_min 0.2 -dbname @DBNAME@"
+  regular    STR "stacktool -definebyquery -label proc -workdir file://@CWD@/stack -min_new 4 -min_num 4 -min_frac 2 -select_good_frac_min 0.2 -dbname @DBNAME@"
 END
 
