Bat snippets and tools.