anchor.diff:  
   
   :: INTERNAL PREP: Email report check
  -:: If -er flag was used or EMAIL_REPORT was set to yes, check for a correctly configured SwithMailSettings.xml
  +:: If -er switch was used or EMAIL_REPORT was set to yes, check for a correctly configured SwithMailSettings.xml
   SETLOCAL ENABLEDELAYEDEXPANSION
   if /i %EMAIL_REPORT%==yes (
   	%FINDSTR% /i "YOUR-EMAIL-ADDRESS" stage_7_wrap-up\email_report\SwithMailSettings.xml >NUL
  
positive.code: 
  
  :: INTERNAL PREP: Autorun check. Skip EULA, Safe Mode but no Network, Welcome Screen and Email Report checks.
  ::                I assume if you use either of the auto flags (-a, -asm) you know what you're doing
  :autorun_check
  if /i %AUTORUN%==yes goto execute_jobs
  if /i %AUTORUN_IN_SAFE_MODE%==yes goto execute_jobs
  
negative.code: if /i %AUTORUN_IN_SAFE_MODE%==yes ( cls && echo. && echo ERROR: You cannot use -a and -asm together. Pick one or the other. && exit /b 1 ) )
  
  :: INTERNAL PREP: Check if we're resuming from a failed or incomplete previous run (often caused by forced reboots in stage_2_de-bloat)
  :: Populate what stage we were on as well as what CLI switches were used. This could probably be a single IF block but I got lazy
  :: trying to figure out all the annoying variable expansion parsing stuff. Oh well
  if exist tron_stage.txt (
  	REM Read in the values from the previous run
  	set /p RESUME_STAGE=<tron_stage.txt 2>NUL
  	set /p RESUME_switches=<tron_switches.txt 2>NUL		
  )
  if exist tron_stage.txt call :parse_cmdline_args %RESUME_switches%
  if exist tron_stage.txt (
  	call functions\log_with_date.bat "! Incomplete run detected. Resuming at %RESUME_STAGE% using switches %RESUME_switches%..."
  	REM We can assume Caffeine isn't running (keeps system awake) if we're resuming, so go ahead and re-launch it before jumping to our stage
  	start "" stage_0_prep\caffeine\caffeine.exe -noicon
  	goto %RESUME_STAGE%
  