Refactor script to load theme dynamically, save themes in dotfiles