Complex sentence: Ed Helms only appears in the cold open episode; he was written out of several episodes of the season in order to film "The Hangover Part III".
Split into simpler sentences: Ed Helms only appears in the cold open episode. This is due to the fact that he was written out of several episodes of the season in order to film "The Hangover Part III".