Make s3 end point configurable