Change datadirectory for plex and cleanup unneeded code.