added s3 connection