First pass for python 3 script.