start moving the badit script to pything doing less and more portable