Hi! Thanks for this script.
I tested on my Asus Flip C100PA.
Install on SDCARD works.
Install on INTERNAL Memory works without errors, but, when I reboot and CTRL-D to start from disk, I get "Chrome OS is missing or damaged". OS verification is OFF. Booting from SDCARD still works.
It looks like OS verification is still ON. Hence it could be a problem related with this particular model more than with your script.
If I find how to solve it, I'll post here.