Modified createlog script to support PlexHT