Cleanup unused imports
When there is data on stdin we use it instead of adb
Fix regex