adds info command to PY and JS