Adding ending tags/comments