fixbug. script file directory is script/