Fixed the sheebang and __future__ import for Python 2 compatibility
Fix for Python 3 compatibility