updated s3 checks