converted shebang to a conditional for python 3 users