Add options for defining template and script roots