use wget instead of curl