Fixed s3 connection