Changed CDATA7 to script in endscript.