moved off deprecated TagClient -> TagApi; refactored tagging to occur at end of run