adding the python command interface