add base script generator