Fixed script tag re-writing.