Changed check_links to check_external_links