Updated for the new cloudflare api