preparations for starting wget.exe