Since this uses ADB, if adb.exe is not found, it would not give any error/information to the user, of what is happening. It will just exit to the menu. Thus, I have added some ADB detection in the script here. http://pastebin.com/mFXJ3w36
PS: If @Gigadroid would put this up on github, more expansion and contribution is expected.