Python scripts inspired by rbkb