Changed shebang from #!/usr/bin/python to more generic #!/usr/bin/env python