Index: branches/eam_branches/ipp-20110906/ippTasks/lap.pro
===================================================================
--- branches/eam_branches/ipp-20110906/ippTasks/lap.pro	(revision 32363)
+++ branches/eam_branches/ipp-20110906/ippTasks/lap.pro	(revision 32630)
@@ -10,4 +10,6 @@
 $lap_RunPage = 0
 $lap_DonePage = 0
+
+$LAP_QUEUE = NULL
 
 book init lapNewRuns
@@ -135,4 +137,8 @@
  
 
+macro lap.define.queue
+  $LAP_QUEUE = $1
+end
+
 task           lap.initial.load
   host         local
@@ -388,5 +394,5 @@
     stderr $LOGDIR/lap.load.log
 
-    $run = laptool -pendingrun -state done
+    $run = laptool -pendingrun -state full
 
     if ($lapSeq:n != 0)
@@ -463,4 +469,8 @@
     option $LAP_ID
     $run = lap_science.pl --cleanup_mode --dbname $DBNAME --lap_id $LAP_ID
+    if ("$LAP_QUEUE" != "NULL") 
+      $run = $run --queue_list $LAP_QUEUE
+    end
+    
 
     command $run
