Updated install script to check if programs are installed