changes for switch to custom domain