tweaks to python runner