Added template for pb_tool