Index: branches/eam_branches/ipp-20120627/ippTasks/pantasks.pro
===================================================================
--- branches/eam_branches/ipp-20120627/ippTasks/pantasks.pro	(revision 34099)
+++ branches/eam_branches/ipp-20120627/ippTasks/pantasks.pro	(revision 34242)
@@ -506,4 +506,20 @@
 end
 
+macro set.keep.failures
+  if ($0 != 2)
+    echo "USAGE:set.keep.failures (value)"
+    break
+  end
+
+  $KEEP_FAILURES = $1
+end
+
+macro get.keep.failures
+  echo "KEEP_FAILURES: $KEEP_FAILURES"
+end
+
+
+
+
 macro set.verbosity
   if ($0 != 2)
Index: branches/eam_branches/ipp-20120627/ippTasks/science.cleanup.pro
===================================================================
--- branches/eam_branches/ipp-20120627/ippTasks/science.cleanup.pro	(revision 34099)
+++ branches/eam_branches/ipp-20120627/ippTasks/science.cleanup.pro	(revision 34242)
@@ -114,8 +114,10 @@
 
   task.exec
-    periods -exec $RUNEXEC
 
     book npages chipPendingCleanup -var N
-    if ($N == 0) break
+    if ($N == 0)
+        periods -exec $RUNEXEC
+        break
+    end
     if ($NETWORK == 0) break
     
@@ -573,8 +575,10 @@
 
   task.exec
-    periods -exec $RUNEXEC
 
     book npages warpPendingCleanup -var N
-    if ($N == 0) break
+    if ($N == 0) 
+        periods -exec $RUNEXEC
+        break
+    end
     if ($NETWORK == 0) break
     
@@ -728,8 +732,10 @@
 
   task.exec
-    periods -exec $RUNEXEC
 
     book npages diffCleanup -var N
-    if ($N == 0) break
+    if ($N == 0)
+        periods -exec $RUNEXEC
+        break
+    end
     if ($NETWORK == 0) break
     
@@ -1028,8 +1034,10 @@
 
   task.exec
-    periods -exec $RUNEXEC
 
     book npages chipBGPendingCleanup -var N
-    if ($N == 0) break
+    if ($N == 0)
+        periods -exec $RUNEXEC
+        break
+    end
     if ($NETWORK == 0) break
     
@@ -1181,8 +1189,9 @@
 
   task.exec
-    periods -exec $RUNEXEC
-
     book npages warpBGPendingCleanup -var N
-    if ($N == 0) break
+    if ($N == 0)
+        periods -exec $RUNEXEC
+        break
+    end
     if ($NETWORK == 0) break
     
