Updated to allow the bucket name to be a plugin setting