fix for running dmdot on syndicate
diff --git a/planetstack/dmdot b/planetstack/dmdot
old mode 100755
new mode 100644
index 4353793..f38650d
--- a/planetstack/dmdot
+++ b/planetstack/dmdot
@@ -28,6 +28,8 @@
 #models_module = imp.load_source(app, ".")
 models_module = __import__(app)
 for part in app.split(".")[1:]:
+    if hasattr(models_module, "PlCoreBase"):
+        break
     models_module = getattr(models_module,part)
 
 PlCoreBase = getattr(models_module,"PlCoreBase")