adds external link functionality