sets env vars for s3