Index: trunk/ippTasks/dist.pro
===================================================================
--- trunk/ippTasks/dist.pro	(revision 24146)
+++ trunk/ippTasks/dist.pro	(revision 24737)
@@ -123,5 +123,10 @@
   task.exec
     book npages distToProcess -var N
-    if ($N == 0) break
+    if ($N == 0) 
+        periods -exec 10
+        break
+    end
+    periods -exec 0.05
+
     if ($NETWORK == 0) break
     
@@ -165,5 +170,15 @@
 #    set.host.for.camera $CAMERA $MAGIC_ID
 #    set.workdir.by.camera $CAMERA $MAGIC_ID $WORKDIR_TEMPLATE $default_host WORKDIR
-    host anyhost
+#    host anyhost
+
+
+    substr $COMPONENT 0 3 COMP_HEAD
+    if ("$COMP_HEAD" == "sky")
+        set.host.for.skycell $COMPONENT
+    else 
+        # assume component is a class_id, if not we will default to anyhost
+        set.host.for.camera $CAMERA $COMPONENT
+    end
+
 
     sprintf logfile "%s/dist.%s.%s.log" $OUTDIR $DIST_ID $COMPONENT
