diff --git a/ess/TraceWin.py b/ess/TraceWin.py
index c195492f4b48b31be444a0b142a58b2f24b4ff9d..f1e7348e4bb1598fb2e078f9e6eceda7fbdd68f0 100644
--- a/ess/TraceWin.py
+++ b/ess/TraceWin.py
@@ -247,7 +247,7 @@ class plt:
         for i in [97,98]:
           data=plt[i]$
           if data:
-            print data['x']
+            print(data['x'])
     '''
     def __init__(self, filename):
         # easy storage..
@@ -328,7 +328,7 @@ class plt:
                     ret[key]=self._data[i][key]
             return ret
         else:
-            print "No data to plot at element",key
+            print("No data to plot at element",key)
 
     def calc_s(self):
         '''
@@ -524,7 +524,7 @@ class density_file:
             except IndexError: # EOF reached..
                 break
         if sys.flags.debug:
-            print "Number of steps found:", counter
+            print("Number of steps found:", counter)
         self.fin.seek(0)
 
         # set up the arrays..
diff --git a/ess/__init__.py b/ess/__init__.py
index 8471e65d68b71d9a0025066bc13ad1c61347e5b3..429da9d3034d036aa0cb242e80ae438ca3b55c2e 100644
--- a/ess/__init__.py
+++ b/ess/__init__.py
@@ -1,3 +1,5 @@
-import TraceWin
-import installed
-import lib_tw
+__all__ = ["TraceWin", "installed", "lib_tw"]
+
+from . import TraceWin
+from . import installed
+from . import lib_tw
diff --git a/ess/installed.py b/ess/installed.py
index 7774997fe1c5fc7486c75c8b1000968108e49cd6..0f32e647c8954d2e2540d58e9305a36bbf375470 100644
--- a/ess/installed.py
+++ b/ess/installed.py
@@ -25,6 +25,6 @@ def is_package_installed(name):
     ret=False
     for package in get_installed_packages():
         if name in str(package).lower():
-            print "Found",package
+            print("Found",package)
             ret=True
     return ret