Complex sentence: Sommers and Ducsay were to have been executive producers, and Sommers wrote scripts for the pilot and first several episodes, but NBC decided not to go through with the show.
Split into simpler sentences: Sommers and Ducsay would have been executive producers, and Sommers had written scripts for the pilot and first several episodes. However, NBC decided not to go through with the show.