Initialize flag vars