Correcting S3 signing process