setup DBI Templates