added plex stuff