Index: trunk/ippTasks/addstar.pro
===================================================================
--- trunk/ippTasks/addstar.pro	(revision 38582)
+++ trunk/ippTasks/addstar.pro	(revision 38937)
@@ -244,5 +244,7 @@
 $addstar_revert_DB_SC = 0 
 $addstar_revert_DB_FF = 0 
+$addstar_revert_DB_FFS = 0
 $addstar_revert_DB_DF = 0 
+
 
 #$LOADEXEC_ADD = 300
@@ -452,4 +454,7 @@
         sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID
     end
+    if ("$STAGE" == "fullforce_summary")
+	sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID
+    end
 
   
@@ -468,12 +473,16 @@
       $run = $run --stage_id $STAGE_ID
     end
-   if ("$STAGE" == "skycal")
+    if ("$STAGE" == "skycal")
       $run = $run --stage_id $STAGE_ID
     end
-   if ("$STAGE" == "diff")
+    if ("$STAGE" == "diff")
       $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1
     end
-   if ("$STAGE" == "fullforce")
+    if ("$STAGE" == "fullforce")
       $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1
+    end
+    if ("$STAGE" == "fullforce_summary")
+    # This shouldn't need a stage_extra1, as there are no subcomponents to the ff summary.
+      $run = $run --stage_id
     end
 
@@ -596,4 +605,7 @@
         sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID
     end
+    if ("$STAGE" == "fullforce_summary")
+	sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID
+    end
 
   
@@ -949,2 +961,49 @@
   end
 end
+
+task addstar.revert.fullforce_summary
+  host         local
+
+  periods      -poll 5.0
+  periods      -exec 60.0
+  periods      -timeout 1200
+  npending     1
+  active        false
+
+  stdout NULL
+  stderr $LOGDIR/revert.log
+
+  task.exec
+    if ($LABEL:n == 0) break
+    $run = addtool -revertprocessedexp -stage fullforce_summary
+    if ($DB:n == 0)
+      option DEFAULT
+    else
+      # save the DB name for the exit tasks                                                                   
+      option $DB:$addstar_revert_DB_FFS
+      $run = $run -dbname $DB:$addstar_revert_DB_FFS
+      $addstar_revert_DB_FFS ++
+      if ($addstar_revert_DB_FFS >= $DB:n) set addstar_revert_DB_FFS = 0
+    end
+     add_poll_labels run
+    command $run
+  end
+
+  # success                                                                                                   
+  task.exit    0
+  end
+
+  # locked list                                                                                               
+  task.exit    default
+    showcommand failure
+  end
+
+  task.exit    crash
+    showcommand crash
+  end
+
+  # operation times out?                                                                                      
+  task.exit    timeout
+    showcommand timeout
+  end
+end
