Fixed flags loading and names