replaced curl with wget