replace curl to wget