refine scripts
Merge branch 'dev' into interface