add handling for external links