Updated to follow kodi guidelines