add base script.