make local copy optional for CDN