changed python env to: #!/usr/bin/env python on main