Found an error in the English version tools/re.sh line 143, you are missing an "r" in the CabFlasher module.
Additionally there is an issue flashin a recovery, did not have a chance to troubleshoot this, but you might want to have a look at loki.sh:
/dev/block/platform/msm_sdcc.1/by-name/aboot: cannot open for read: Permission denied
[+] loki_patch v2.1
[-] Failed to open /data/local/tmp/loki/aboot.img for reading.
I was trying to flash the TWRP recovery on an OPEN (d802) 32GB device.
Forget DROPBOX! Have 10GB for free here!
Use this link and we BOTH get 1GB extra for life!