added wget/curl switch