Script no longer crashes if link is invalid.