modified CDN plugin