anchor.diff:  :::::::::::::::::::::
   :: STAGE 4: Repair :: // Begin jobs
   :::::::::::::::::::::
  -call functions\log_with_date.bat "   stage_4_repair begin..."
  +call functions\log_with_date.bat "  stage_4_repair begin..."
   
   
   :: JOB: MSI installer cleanup
   title Tron v%TRON_VERSION% [stage_4_repair] [MSI installer cleanup]
  -call functions\log_with_date.bat "    Cleaning up orphaned MSI cache files..."
  +call functions\log_with_date.bat "   Cleaning up orphaned MSI cache files..."
   if /i %VERBOSE%==yes (
   	if /i %DRY_RUN%==no stage_4_repair\msi_cleanup\msizap.exe G!
   ) else (
   	if /i %DRY_RUN%==no stage_4_repair\msi_cleanup\msizap.exe G! >> "%LOGPATH%\%LOGFILE%" 2>&1
   )
  -call functions\log_with_date.bat "    Done."
  +call functions\log_with_date.bat "   Done."
   
   
   :: JOB: Check Windows Image for corruptions (Windows 8 and up)
   if %WIN_VER_NUM% geq 6.2 (
   	title Tron v%TRON_VERSION% [stage_4_repair] [DISM Check]
  -	call functions\log_with_date.bat "    Launch job 'DISM Windows image check'..."
  -	if /i %DRY_RUN%==yes goto skip_dism_image_check
  -	Dism /Online /NoRestart /Cleanup-Image /ScanHealth /Logpath:"%RAW_LOGS%\dism_check.log"
  +	
  +	:: Check if we were requested to skip DISM cleanup
  +	if /i %SKIP_DISM_CLEANUP%==yes (
  +		call functions\log_with_date.bat "!  SKIP_DISM_CLEANUP (-sdc) set. Skipping DISM cleanup."
  +		goto skip_dism_cleanup
  +		)
  +	
  +	call functions\log_with_date.bat "   Launch job 'DISM Windows image check'..."
  +	if /i %DRY_RUN%==yes goto skip_dism_cleanup
  +	dism /Online /NoRestart /Cleanup-Image /ScanHealth /Logpath:"%RAW_LOGS%\dism_check.log"
   )
   
   :: If we detect errors try to repair them
   if not %ERRORLEVEL%==0 (
   	title Tron v%TRON_VERSION% [stage_4_repair] [DISM Repair]
   	if %WIN_VER_NUM% geq 6.2 (
  -		call functions\log_with_date.bat " !  DISM: Image corruption detected. Attempting repair..."
  +		call functions\log_with_date.bat "!  DISM: Image corruption detected. Attempting repair..."
   		:: Add /LimitAccess flag to this command to prevent connecting to Windows Update for replacement files
  -		Dism /Online /NoRestart /Cleanup-Image /RestoreHealth /Logpath:"%RAW_LOGS%\dism_repair.log"
  +		dism /Online /NoRestart /Cleanup-Image /RestoreHealth /Logpath:"%RAW_LOGS%\dism_repair.log"
   	)
   ) else (
  -	call functions\log_with_date.bat "    DISM: No image corruption detected."
  +	call functions\log_with_date.bat "   DISM: No image corruption detected."
   )
   
   :: Add the DISM logs to the main Tron log
   if %WIN_VER_NUM% gtr 6.2 (
  -	call functions\log_with_date.bat "    Compiling DISM logs into main Tron log..."
  +	call functions\log_with_date.bat "   Compiling DISM logs into main Tron log..."
   	if exist "%RAW_LOGS%\dism_check.log" type "%RAW_LOGS%\dism_check.log" >> "%LOGPATH%\%LOGFILE%"
   	if exist "%RAW_LOGS%\dism_repair.log" type "%RAW_LOGS%\dism_repair.log" >> "%LOGPATH%\%LOGFILE%"
   )
   
  -:skip_dism_image_check
  -call functions\log_with_date.bat "    Done."
  +:skip_dism_cleanup
  +call functions\log_with_date.bat "   Done."
   
   
   :: JOB: System File Checker (SFC) scan
   title Tron v%TRON_VERSION% [stage_4_repair] [SFC Scan]
  -call functions\log_with_date.bat "    Launch job 'System File Checker'..."
  +call functions\log_with_date.bat "   Launch job 'System File Checker'..."
   if /i %DRY_RUN%==no (
   	REM Basically this says "If OS is NOT XP or 2003, go ahead and run system file checker." We skip SFC on XP/2k3 because it forces a reboot
   	if %WIN_VER_NUM% geq 6.0 (
  
positive.code: :: JOB: Disable Windows 10 Upgrade (Win7/8/8.1 only)
  :: Just re-use the temp variable from the above job since it will tell us whether we're on 7 or 8
  if /i "%RUN_7_OR_8_TELEM%"=="yes" (
  	call functions\log_with_date.bat "    Launch job 'Disable Windows 10 Upgrade nagger (Win7/8/8.1)'..."
  	if /i %DRY_RUN%==no ( 
  		REM Only disable telemetry, don't completely purge it
  		REM "DisableOSUpgrade" disables/hides the taskbar app to prevent users from making a reservation and upgrading manually
  
negative.code: 
  :: Windows 10 version
  if /i "%WIN_VER:~0,9%"=="Windows 1" (
  	call functions\log_with_date.bat "   Launch job 'Kill Microsoft telemetry (user tracking) (Win10)'..."
  	call functions\log_with_date.bat "   THIS TAKES A WHILE - BE PATIENT!!"
  	if /i %DRY_RUN%==no call stage_4_repair\disable_windows_telemetry\purge_windows_10_telemetry.bat
  	call functions\log_with_date.bat "   Done. Enjoy your privacy."
  )
  
  :: Spawn temporary variable to check for Win7 and 8. Ugly hack but at least it works
  