further added cdn support