Changed import to work with python2