what is the difference between story by and written by?
A “story by” credit is given to the person or team who came up with the essence of a film (such as the plot or main characters) and who may have written a treatment, but who didn't write the screenplay. ... A “written by” credit is given to the person or team who both conceived of the story and wrote the screenplay.