updated CDN parsing so that it works with overrides