But the hallmark of a good writer is not avoiding script calamities. They are unavoidable. It’s responding to them - working hard to get the story right, being prepared to sacrifice every part or piece of the story and ultimately the episode itself to get the story right so the jokes will fly. It is hard work, but it’s mostly indoors, done with a MacBook Pro, nearby copious amounts of coffee, so it’s not all bad.
[In other words, the only way out is through.]