changed GET request to HEAD request and made it a command line script