Another attempt to get S3 uploading working