improved openvswitch script