improving mp/pyesdoc commands