Replace hammer with flag.