Sigh - seems that some Linux distros switched to python3 by default, so they hard code 'python2' as executable name for python. inreplace looks good, will implement that tomorrow.