adapting a novel into a screenplay