Added closetag.
Modified scripts.