To write film music means, among other things, to create a work of art with a life of its own that translates the plot of the movie into music. This way, the score would be a parallel story to the script.