Here’s what to do before gutting the whole thing.