adapting a book into a screenplay