Reenabling flags and stuff