Moved functions to dotfiles