removed segment that changes balance-rr to mode=4; no longer needed
added switch configurations
added placeholder functions, rearranged imports, added some protection to step99