BatchWriter example more flexible with user input