adding close tag script