Improve portability

The script now works with Python3 installed. I just tweaked the shebang and it worked for me on ArchLinux