Added explicit conversion to string
Removed redundant shebang
Closed #3; converted for python3