I was still revising the copy-edited manuscript, tearing the whole thing up, finding, at the last possible moment, my voice.
I was making changes to the copy-edited manuscript before it got sent to the publisher.