Modifications for use with wget