Flags and settings