Move functions to bash_profile