Massve py3 compat reworking. Redo run() to handle python 3