Thanks for the pointers - makes sense. The script I want to run is a WiringPi script but cannot install on Kodi install. This is bit of a showstopper. WiringPi enables me to use the GPIO command and operate an 8-way relay connected to an RC remote. So need to figure how to run a GPIO.sh command on Kodi. Its probably a bit off-track as far as flirc forum is concerned but there seems to be a bit out there on the subject. cheers