wrong index for argv
add flash.sh, turn off/on GPIO periodically