working local variables for s3