replace curl by wget