modify tunnel shell script