In my case, my device doesn't support the "z" option and I have to replace this line by:
`adb shell 'cd /sdcard; gunzip gpii-android.tar.gz; tar xvf gpii-android.tar'`