explicitly uses python2 and changed the print statements to look like pr...

...oper functions