Replaced curl with wget