updated renderUiCmds.py