Bash script to image a nexus device via ADB/Fastboot