change install script, add check if database exist in index.php