Setup database_template variables