use wget if curl is not available
use wget if curl is not available