Script to check the url availability