changed curl to wget