bug fix for #15 implementing a different calling method with the S3 API