Changed python invocation to use env; changed print function to __future__ style