Avoid adding the same tag twice on multiple runs of the script