anchor.diff:  
   :do_install
       ECHO Installing gnirehtet...
  -    CALL %ADB% %~1 install %APK%
  +    CALL %ADB% %serial% install %APK%
       EXIT /B 0
   
   :do_uninstall 
       ECHO Uninstall gnirehtet...
  -    CALL %ADB% %~1 uninstall com.genymobile.gnirehtet
  +    CALL %ADB% %serial% uninstall com.genymobile.gnirehtet
       EXIT /B 0
   
   :do_reinstall
       SETLOCAL
  -    CALL :do_uninstall %1
  -    CALL :do_install %1
  +    CALL :do_uninstall
  +    CALL :do_install
       ENDLOCAL
       EXIT /B 0
   
   :do_stop
       ECHO Stopping gnirehtet...
  -    CALL %ADB% %~1 shell am startservice -a com.genymobile.gnirehtet.STOP
  +    CALL %ADB% %serial% shell am startservice -a com.genymobile.gnirehtet.STOP
       EXIT /B 0 0
   
   :do_relay
  
positive.code:         IF "%%a"=="-d" ( SET dns=%%b) 
      )
  )
  CALL :do_%1 %serial% %dns% || CALL :do_help 
  GOTO :eof
  
  :do_help
  
negative.code: 
  :do_start
      SETLOCAL
      IF NOT "%dns%"=="" (
          set dparam=--esa dnsServers %dns%
      )
      ECHO Starting gnirehtet...
      CALL %ADB% %serial% reverse tcp:31416 tcp:31416
      CALL %ADB% %serial% shell am startservice -a com.genymobile.gnirehtet.START %dparam%
      ENDLOCAL
      EXIT /B 0
  
  