Replaced print with print() to support Py2.X and Py3.X