use getcwd() rather than subshell pwd when opening a browser