moved functions from bashrc to bash_functions