check that either curl or wget are installed before trying to download