init tunnel script