cli: baddata script improvements