trying to get amazon s3 upload working