Eliminate mut on runflags
Separate runflags from var flags