Move root flag to a more appropriate place.