modify setting and script.