adding some more logic to the dotfiles