adding cloudfront support