correct tagParagraph and add tagScript