Added templates and better scripts.