Bash scripts for Raspberry Pi and XBMC