export from S3 if environment variables set