KiCad 4 now uses a plugin system for managing the bill of materials. Here are some assorted tips.
/usr/lib/kicad/plugins/
Some videos: