Fixed python scripts for python 3 (print now a function rather than a keyword)