use curl instead of wget to minimize dependencies