improved dotfiles script