Puts the flag stuff in an include that we just drop into templates
fixup! Puts the flag stuff in an include that we just drop into templates