Added more instruction in the docstring
Allowed string as a newtag input in replace_tags