remove script sections