add externalLink directive