custom command to run script

Hi all,
I used to use xbmc commander to control my system but it is no longer supported.
So i was wondering how can i use custom command on official kodi remote application to lauch my script.

Previously, xbmc commander send keyboard key define like this in keyboard.xml:

<keymap>
<global>
<keyboard>
<e>RunScript(C:\Users\ME\AppData\Roaming\Kodi\userdata\Scripts\TV_UP.py)</e>
<h>RunScript(C:\Users\ME\AppData\Roaming\Kodi\userdata\Scripts\TV_DOWN.py)</h>
</keyboard>
</global>

Thanks a lot for your help.