Updated to check a url link - not debugged