refactors dotfile setup command