Reencoded flags
Merge pull request #2 from Meneth/master

Reencoded flags