replaced wget commands with curl

mac's don't have wget! so replaced 2 wget commands with the curl ones.