updated check tunneling script