modification for using a CDN