fix ExecCommandComplete write error
new struct for publish
merge oo
add template replace
add arg test
use node0.8
keep in oo