changed s3 var