curl env from s3