Changed the way the number of times the check_link is run.