diff --git a/pyModeS/__init__.py b/pyModeS/__init__.py
index c34bd78..5be7b05 100644
--- a/pyModeS/__init__.py
+++ b/pyModeS/__init__.py
@@ -1,3 +1,5 @@
-from util import *
-import adsb
-import ehs
+from __future__ import absolute_import, print_function, division
+
+from .util import *
+from . import adsb
+from . import ehs
diff --git a/pyModeS/adsb.py b/pyModeS/adsb.py
index fdb5d27..fa3e601 100644
--- a/pyModeS/adsb.py
+++ b/pyModeS/adsb.py
@@ -18,8 +18,8 @@ along with this program. If not, see .
"""
import math
-import util
-from util import crc
+from . import util
+from .util import crc
def df(msg):
diff --git a/pyModeS/ehs.py b/pyModeS/ehs.py
index b3ec58f..2004afc 100644
--- a/pyModeS/ehs.py
+++ b/pyModeS/ehs.py
@@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see .
"""
-import util
-from util import crc
+from . import util
+from .util import crc
def df(msg):