thanks to an astonishingly witless script 
(ROOT (NP (NP (NN thanks)) (PP (IN to) (NP (DT an) (ADJP (RB astonishingly) (JJ witless)) (NN script)))))
(ROOT (NP (NP (NN )) (PP (IN ) (NP (DT ) (ADJP (RB ) (JJ )) (NN )))))