modify setting.sh
merge with office version