using curl instead of wget, doh