reconfigured teardown script to match parameters, and added condition to remove non-mesh interfaces from the bridge