Small modifications to eptmk_tag.py.