Complex sentence: Ed Helms only appears in the cold open episode, and was previously written out of the season for several episodes 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".