anchor.diff:  :mode
   set /p mode="Enter Rice Mode (BUNDLE, EMBED) <%mode%>: "
   if /i "%mode%" == "BUNDLE" (
  -	InstRice = 'Y'
  +	set InstRice=Y
   	goto DBType
   )
   if /i "%mode%" == "EMBED" goto InstRice
  
positive.code: cd KC-RELEASE-5_0-SCRIPT
  
  if /i "%mode%" == "EMBED" (
  	mysql -u %un% -p%pw% -D %un% -s -f < KRC_RICE-RELEASE-5_0-Upgrade-MYSQL.sql > KRC_RICE-RELEASE-5_0-Upgrade-MYSQL-Install.log 2>&1
  )
  
  if /i "%InstRice%" == "Y" (
  	mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < KR_RICE-RELEASE-5_0-Upgrade-MYSQL.sql > KR_RICE-RELEASE-5_0-Upgrade-MYSQL-Install.log 2>&1
  )
  
  mysql -u %un% -p%pw% -D %un% -s -f < KC-RELEASE-5_0-Upgrade-MYSQL.sql > KC-RELEASE-5_0-Upgrade-MYSQL-Install.log 2>&1
  mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < KR-RELEASE-5_0-Upgrade-MYSQL.sql > KR-RELEASE-5_0-Upgrade-MYSQL-Install.log 2>&1
  move *.log ../LOGS/
  cd ..
  
  :5.0MYSQL
  cd KC-RELEASE-5_0_1-SCRIPT
  
  mysql -u %un% -p%pw% -D %un% -s -f < KC-RELEASE-5_0_1-Upgrade-MYSQL.sql > KC-RELEASE-5_0_1-Upgrade-MYSQL-Install.log 2>&1
  mysql -u %Riceun% -p%Ricepw% -D %Riceun% -s -f < KR-RELEASE-5_0_1-Upgrade-MYSQL.sql > KR-RELEASE-5_0_1-Upgrade-MYSQL-Install.log 2>&1
  move *.log ../LOGS/
  cd ..
  
  
negative.code: cd KC-RELEASE-5_1_0-SCRIPT
  
  if /i "%mode%" == "EMBED" (
  	mysql -u %un% -p%pw% -D %DBSvrNm% -s -f < KRC_RICE-RELEASE-5_1_0-Upgrade-MYSQL.sql > KRC_RICE-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  )
  
  if /i "%InstRice%" == "Y" (
  	mysql -u %Riceun% -p%Ricepw% -D %RiceDBSvrNm% -s -f < KR_RICE-RELEASE-5_1_0-Upgrade-MYSQL.sql > KR_RICE-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  )
  
  mysql -u %un% -p%pw% -D %DBSvrNm% -s -f < KC-RELEASE-5_1_0-Upgrade-MYSQL.sql > KC-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  mysql -u %Riceun% -p%Ricepw% -D %RiceDBSvrNm% -s -f < KR-RELEASE-5_1_0-Upgrade-MYSQL.sql > KR-RELEASE-5_1_0-Upgrade-MYSQL-Install.log 2>&1
  move *.log ../LOGS/
  cd ..
  
  cd KC-RELEASE-3_0-CLEAN/mysql
  mysql -u %Riceun% -p%Ricepw% -D %RiceDBSvrNm% -s -f < krrelease/datasql/KR_00_CLEAN_SEQ_BS.sql > KR_CLEAN_SEQ_BS-Mysql-Install.log 2>&1
  move *.log ../../LOGS/
  cd ../..
  
  