Index: trunk/ippTasks/stack.pro
===================================================================
--- trunk/ippTasks/stack.pro	(revision 19545)
+++ trunk/ippTasks/stack.pro	(revision 19559)
@@ -141,4 +141,5 @@
     book getword stackSumSkyfile $pageName workdir -var WORKDIR_TEMPLATE
     book getword stackSumSkyfile $pageName dbname -var DBNAME
+    book getword stackSumSkyfile $pageName state -var RUN_STATE
 
     # set the host and workdir based on the skycell hash
@@ -156,5 +157,5 @@
     stderr $LOGDIR/stack.skycell.log
 
-    $run = stack_skycell.pl --threads @MAX_THREADS@ --stack_id $STACK_ID --outroot $outroot --redirect-output
+    $run = stack_skycell.pl --threads @MAX_THREADS@ --stack_id $STACK_ID --outroot $outroot --redirect-output --run-state $RUN_STATE
     add_standard_args run
 
