added support for cloudfront