Changed the call to  to work with python3