add some sync script, by diwen