what is the difference between written by and screenplay by?
A “screenplay by” credit is given to the person or team who wrote the scenes and dialogue of a screenplay but didn't generate the idea for the story. A “written by” credit is given to the person or team who both conceived of the story and wrote the screenplay. It usually merges “story by” and “screenplay by.”