Added support for flags in the player settings.