The invocation of Python is MacOS-specific; not sure how to make it platform indepedent (but maybe it doesn't matter)