changed wget to curl usage