setup s3 uploading. Still failing unpredictably.