add base script and infrastructure