anchor.diff:  ::                2. Safe mode is strongly recommended (though not required)
   ::                3. Called from tron.bat. If you try to run this script directly it will error out
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       1.0.5 - Remove redundant Dism image store cleanup (move to Stage 5)
  +:: Version:       1.0.6 ! Fix numerous bugs with DISM check and repair. Due to bad ERRORLEVEL checking it would fail to trigger repairs when they were required
  +::                1.0.5 - Remove redundant Dism image store cleanup (move to Stage 5)
   ::                1.0.4 - Move Windows 7/8/8.1 telemetry removal code into separate sub-script (similar to Win10)
   ::                1.0.3 - Remove internal log function and switch to Tron's external logging function. Thanks to github:nemchik
   ::                      ! Fix incorrect file name in call to "disable_telemetry_registry_entries.reg"
  
positive.code: :: JOB: System File Checker (SFC) scan
  title Tron v%SCRIPT_VERSION% [stage_4_repair] [SFC Scan]
  call functions\log.bat "%CUR_DATE% %TIME%    Launch job 'System File Checker'..."
  if /i %DRY_RUN%==yes goto skip_sfc
  :: 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 %SystemRoot%\System32\sfc.exe /scannow
  %SystemRoot%\System32\findstr.exe /c:"[SR]" %SystemRoot%\logs\cbs\cbs.log>> "%LOGPATH%\%LOGFILE%" 2>NUL
  :skip_sfc
  call functions\log.bat "%CUR_DATE% %TIME%    Done."
  
  
  
negative.code: :::::::::::::::::::::
  :: PREP AND CHECKS ::
  :::::::::::::::::::::
  set STAGE_4_SCRIPT_VERSION=1.0.6
  set STAGE_4_SCRIPT_DATE=2016-02-11
  
  :: Quick check to see if we inherited the appropriate variables from Tron.bat
  if /i "%LOGFILE%"=="" (
  