Updated bash functions and aliases