Tweaked script to not delete <script> tags