anchor.diff:  	if not errorlevel 1 set api= --web-security=false
   )
   
  +rem initialise log file and set permissions to protect user data
  +rem skip permissions setting for windows, only done for macos and linux
  +type nul > "%flow_file%.log"
  +type nul > "tagui.sikuli\tagui.log"
  +type nul > "tagui_chrome.log"
  +
   rem delete sikuli visual automation integration files if they exist
   if exist "tagui.sikuli\tagui_sikuli.in" del "tagui.sikuli\tagui_sikuli.in" 
   if exist "tagui.sikuli\tagui_sikuli.out" del "tagui.sikuli\tagui_sikuli.out"
  +
  +rem delete chrome / headless chrome integration files if they exist 
  +if exist "tagui_chrome.in" del "tagui_chrome.in"
  +if exist "tagui_chrome.out" del "tagui_chrome.out"
  +
  +rem default exit code 0 to mean no error parsing automation flow file
  +set tagui_error_code=0
   
   rem check datatable csv file for batch automation
   set tagui_data_set_size=1 
  
positive.code: move "%flow_file%.js.tmp" "%flow_file%.js" > nul
  gawk "sub(\"$\", \"\")" "%flow_file%.log" > "%flow_file%.log.tmp"
  move "%flow_file%.log.tmp" "%flow_file%.log" > nul
  
  rem check report option to generate html automation log
  for /f "usebackq" %%f in ('%flow_file%.log') do set file_size=%%~zf
  
negative.code: @echo off
  rem # SCRIPT FOR RUNNING TAGUI FRAMEWORK ~ TEBEL.ORG #
  
  rem configure command to launch chrome for Windows
  set chrome_command=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
  
  rem enable windows for loop advanced flow control
  setlocal enableextensions enabledelayedexpansion
  
  if "%~1"=="" (
  echo tagui v2.0: use following syntax and below options to run - tagui flow_filename option^(s^)
  echo.
  echo headless - run on invisible Chrome web browser instead of default PhantomJS ^(first install Chrome^)
  echo chrome   - run on visible Chrome web browser instead of invisible PhantomJS ^(first install Chrome^)
  echo firefox  - run on visible Firefox web browser instead of invisible browser ^(first install Firefox^)
  echo upload   - upload automation flow and result to hastebin.com ^(expires 30 days after last view^)
  echo report   - web report for sharing of run results on webserver ^(default is only a text log file^)
  echo debug    - show run-time backend messages from PhantomJS for detailed tracing and logging
  echo quiet    - run without output except for explicit output ^(echo / show / check / errors etc^)
  echo test     - professional testing using CasperJS assertions ^(TagUI smart tx^('selector'^) usable^)
  echo input^(s^) - add your own parameter^(s^) to be used in your automation flow as variables p1 to p9
  echo.
  echo TagUI is a general purpose tool for automating web interactions ~ http://tebel.org
  