work on debugging errors with upload to S3