Use wget as curl wasn't working