added the option for CDN support from the master for version 8