the screenplay to keep the film entertaining 
(ROOT (NP (NP (DT the) (NN screenplay)) (SBAR (S (VP (TO to) (VP (VB keep) (NP (DT the) (NN film)) (S (ADJP (JJ entertaining)))))))))
(ROOT (NP (NP (DT ) (NN )) (SBAR (S (VP (TO ) (VP (VB ) (NP (DT ) (NN )) (S (ADJP (JJ )))))))))