very early version (not tested) of python automation