The following sentence has a dangling modifier.

After reading the book it was based on, several key plot elements were missing from the movie.

Which revision best corrects the error in this sentence?

Several key elements were missing from the movie, I noticed, after I read the book it was based on.
I noticed that several key plot elements were missing from the movie after I read the book it was based on.
After reading the book that the movie was based on, I noticed that the movie was missing several key plot elements.
I noticed, after I read the book it was based on, that several key plot elements were missing from the movie.

After reading the book that the movie was based on, I noticed that several key plot elements were missing from the movie.