Try to implement the right logic for systemFlags