adapting a novel to a screenplay