Rewriting weapons