Usage patterns
〈物〉を書くto write a script
He wrote the screenplay for a new movie.
〈物〉を担当するto be in charge of writing the script
She is in charge of writing the script for the drama.
〈物〉に基づくto be based on a script (adapted from)
This film is based on a script adapted from a famous novel.
〈物〉を手がけるto handle/produce a script (as one's project)
He has worked on the scripts for many hit productions.