Updated to work with both regular and symlink dotfiles