anchor.diff:  echo stage_2_de-bloat>tron_stage.txt
   title TRON v%SCRIPT_VERSION% [stage_2_de-bloat]
   if /i %SKIP_DEBLOAT%==yes (
  -	echo %CUR_DATE% %TIME% ! SKIP_DEBLOAT ^(-sb^) set, skipping Stage 2 jobs...>> "%LOGPATH%\%LOGFILE%"
  -	echo %CUR_DATE% %TIME% ! SKIP_DEBLOAT ^(-sb^) set, skipping Stage 2 jobs...
  +	call :log_heading_alert SKIP_DEBLOAT ^(-sb^) set, skipping Stage 2 jobs...
   	goto skip_debloat
   	)
   
  -echo %CUR_DATE% %TIME%   stage_2_de-bloat begin...>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%   stage_2_de-bloat begin...
  +call :log_heading stage_2_de-bloat begin...
   
   
   :: JOB: Remove crapware programs, phase 1 (by name)
  -echo %CUR_DATE% %TIME%    Attempt junkware removal: Phase 1 (by name)...>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%    Attempt junkware removal: Phase 1 (by name)...
  -echo %CUR_DATE% %TIME%    Customize here: \resources\stage_2_de-bloat\oem\programs_to_target.txt>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%    Customize here: \resources\stage_2_de-bloat\oem\programs_to_target.txt
  +call :log Attempt junkware removal: Phase 1 (by name)...
  +call :log Customize here: \resources\stage_2_de-bloat\oem\programs_to_target.txt
   :: Search through the list of programs in "programs_to_target.txt" file and uninstall them one-by-one
   if /i %DRY_RUN%==no FOR /F "tokens=*" %%i in (stage_2_de-bloat\oem\programs_to_target.txt) DO echo   %%i && echo   %%i...>> "%LOGPATH%\%LOGFILE%" && %WMIC% product where "name like '%%i'" uninstall /nointeractive>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%    Done.>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%    Done.
  +call :log Done.
   
   
   :: JOB: Remove crapware programs, phase 2 (by GUID)
  -echo %CUR_DATE% %TIME%    Attempt junkware removal: Phase 2 (by GUID)...>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%    Attempt junkware removal: Phase 2 (by GUID)...
  -echo %CUR_DATE% %TIME%    Customize here: \resources\stage_2_de-bloat\oem\programs_to_target_by_GUID.bat>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%    Customize here: \resources\stage_2_de-bloat\oem\programs_to_target_by_GUID.bat
  +call :log Attempt junkware removal: Phase 2 (by GUID)...
  +call :log Customize here: \resources\stage_2_de-bloat\oem\programs_to_target_by_GUID.bat
   if /i %DRY_RUN%==no call stage_2_de-bloat\oem\programs_to_target_by_GUID.bat
  -echo %CUR_DATE% %TIME%    Done.>> "%LOGPATH%\%LOGFILE%"
  -echo %CUR_DATE% %TIME%    Done.
  +call :log Done.
   
   
   :: JOB: Remove default Metro apps (Windows 8/8.1/2012/2012-R2 only). Thanks to https://keybase.io/exabrial
  
positive.code: 			del /f /q %LOGPATH%\tron_raw_logs\before*txt 2>NUL
  			del /f /q %LOGPATH%\tron_raw_logs\after*txt 2>NUL
  	)
  echo %CUR_DATE% %TIME%    Done. Summary logs are at "%LOGPATH%\tron_summary_logs">> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    Done. Summary logs are at "%LOGPATH%\tron_summary_logs"
  )
  
  
  :: JOB: Collect misc logs and deposit them in the log folder. Thanks to /u/swtester
  echo %CUR_DATE% %TIME%    Saving misc logs to "%LOGPATH%\tron_raw_logs"...>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    Saving misc logs to "%LOGPATH%\tron_raw_logs"
  if exist "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs" copy /Y "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\*.l*" "%LOGPATH%\tron_raw_logs" >NUL
  if exist "%ProgramData%\Malwarebytes\Malwarebytes Anti-Malware\Logs" copy /Y "%ProgramData%\Malwarebytes\Malwarebytes Anti-Malware\Logs\*.xml" "%LOGPATH%\tron_raw_logs" >NUL
  echo %CUR_DATE% %TIME%    Done.>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    Done.
  
  title TRON v%SCRIPT_VERSION% (%SCRIPT_DATE%) [DONE]
  
  echo %CUR_DATE% %TIME%   DONE. Use \resources\stage_7_manual_tools if further cleaning is required.>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%   DONE. Use \resources\stage_7_manual_tools if further cleaning is required.
  
  
  :: JOB: Remove resume-related files and registry entries. No need to log this
  reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume"
  del /f /q tron_flags.txt
  del /f /q tron_stage.txt
  
  
  
  
negative.code: :: Stamp current stage so we can resume if we get interrupted by a reboot
  echo stage_0_prep>tron_stage.txt
  title TRON v%SCRIPT_VERSION% [stage_0_prep]
  call :log_heading stage_0_prep jobs begin...
  
  
  :: JOB: Get pre-Tron system state (installed programs, complete file list). Thanks to /u/Reverent for building this section
  if /i %GENERATE_SUMMARY_LOGS%==yes (
  call :log Summary logs requested, generating pre-run system profile...
  	if /i %DRY_RUN%==no (
  		:: Stage the directories
  		if /i not exist "%LOGPATH%\tron_raw_logs" mkdir "%LOGPATH%\tron_raw_logs"
  