Index: branches/eam_branches/ipp-20110710/ippTasks/magic.pro
===================================================================
--- branches/eam_branches/ipp-20110710/ippTasks/magic.pro	(revision 31852)
+++ branches/eam_branches/ipp-20110710/ippTasks/magic.pro	(revision 32337)
@@ -269,11 +269,8 @@
 
   task.exec
+    periods -exec 10
+
     book npages magicToProcess -var N
-    if ($N == 0) 
-      periods -exec 10
-      break
-    end
-    periods -exec 0.05
-
+    if ($N == 0) break
     if ($NETWORK == 0) break
     
@@ -342,4 +339,5 @@
       echo command $run
     end
+    periods -exec 0.05
     command $run
   end
