changed wget to curl for getting files