Two notes here; one there is a block form of `inreplace` that lets you act on the file all-at-once.

But two, let's use a patch, possibly a DATA patch for these changes instead of inreplace.