Adding config option for the S3 endpoint