Switched python invocation to use env and fixed Image import (it's in PIL).