Updates to code to match new cloudflare API setup.

Updated to new cloudflare API setup so that the code once again works.