Fixes #6 - batch size as a plugin setting