Changed the way to handle valid links. Sending a message if it is valid.