diff --git a/scripts/ost_startup.py.in b/scripts/ost_startup.py.in
index 73cf24e88ac07829f9b93f09b433ba27c2c5bf57..612b6485cf2515deffe6023f80e3ea4ea14e8ce5 100644
--- a/scripts/ost_startup.py.in
+++ b/scripts/ost_startup.py.in
@@ -30,20 +30,21 @@ _site_packs='python%d.%d/site-packages' % sys.version_info[0:2]
 _base_dir=os.getenv('DNG_ROOT')
 sys.path.insert(0, os.path.join(_base_dir, '@LIBDIR@', _site_packs))
      
-from ost import *
-import ost
+from ost import SetPrefixPath, GetSharedDataPath, conop
 
-ost.SetPrefixPath(_base_dir)
+SetPrefixPath(_base_dir)
 
 def _InitRuleBasedProcessor():
-  compound_lib_path=os.path.join(ost.GetSharedDataPath(), 'compounds.chemlib')
+  compound_lib_path=os.path.join(GetSharedDataPath(), 'compounds.chemlib')
   if os.path.exists(compound_lib_path):
     compound_lib=conop.CompoundLib.Load(compound_lib_path)
     conop.SetDefaultLib(compound_lib)
-    io.profiles['DEFAULT'].processor = conop.RuleBasedProcessor(compound_lib)
 
 # switch to rule-based processor, if compound library is available
 _InitRuleBasedProcessor()
+from ost import *
+import ost
+
 import os.path
 HistoryFile=os.path.expanduser('~/.ost_history')