changed s3 host to use URI