added tunnel functions to bash