Added delegate script and theme templates.