If you have more than one device/emulator hooked up these scripts fail along the lines of:
[exec] error: more than one device and emulator [exec] - waiting for device - [exec] error: more than one device and emulator [exec] - waiting for device - [exec] error: more than one device and emulator [exec] - waiting for device - And indefinitely hangs. Is this a use case we should cover, and if so, how to solve this one? grep for the first dev/emu and choose that one? Iterate over all connected devices?