update scripts
update some code
remove config