work towards v1.3: add toggles and configuration