Complex sentence: Kevin Smith did unaccredited work on the film, including an early draft of the script, when he then decided to have his name removed from the final product.
Split into simpler sentences: Kevin Smith did unaccredited work on the film including an early draft of the script. Where he then decided to have his name removed from the final product.