improved mininet bash scripts