Change to curl for downloading repo file