Adapt wget