fix template script mode
Merge branch 'master' of https://github.com/wavemode/leafboard