Added more flags to PlaylistWriter