anchor.diff:  CD "%YAWDS_HOME%\stack"
   
   :: install new version
  -CALL 7za e "%TEMP%\yawds-latest-win32.zip"
  -IF NOT ERRORLEVEL 0 (
  -	ECHO An error while extracting happends
  -	ECHO Restoring old version...
  +CALL "%YAWDS_HOME%\stack_old\tools\7za.exe" -y e "%TEMP%\yawds-latest-win32.zip"
  +IF NOT EXIST "%YAWDS_HOME%\stack" (
  +	ECHO.
  +	ECHO ERROR: cannot extract and write new files
  +	ECHO Restoring old stack environment version...
  +	ECHO.
   	MOVE /Y "%YAWDS_HOME%\stack_old" "%YAWDS_HOME%\stack"
   	GOTO END_ERROR
   )
   
   :: removing old version
  -::DEL /F /Q /S "%YAWDS_HOME%\stack_old"
  -
  -ECHO.
  -ECHO Environment stack updated succesfully
  +DEL /F /Q /S "%YAWDS_HOME%\stack_old"
  +
  +ECHO.
  +ECHO %YAWDS_CONF_GENERA_SHORTNAME% was updated succesfully!
  +ECHO.
   GOTO END
   
   :VERSION_ERROR
  
positive.code: 	ECHO Backup created succesfully in:
  	ECHO %YAWDS_HOME%\backup\
  	ECHO.
  	PAUSE
  )
  
  MOVE /Y "%YAWDS_HOME%\stack" "%YAWDS_HOME%\stack_old"
  IF NOT EXIST "%YAWDS_HOME%\stack_old" (
  	ECHO.
  	ECHO ERROR: cannot write new files
  
negative.code: 	IF NOT EXIST "%YAWDS_HOME%\backup" MKDIR "%YAWDS_HOME%\backup"
  	CD "%YAWDS_HOME%\stack"
  	:: create tarball
  	CALL 7za -mx7 -y a "%backup_file%" *
  	IF NOT ERRORLEVEL 0 (
  		ECHO.
  		ECHO Error while creating the backup...
  