added s3 endpoint