removes dependency on wget and uses curl instead