slight change to tag script