Write flags in a way that dota can read it.  Flags are now 100% functional