Added the -k to gubbin's curl  for https