add function check_prog_exists_setvar
create rename config files and create symlinks to dotfiles
use the new check function in the config scripts