change the curl command to use github and better curl options