Added database name to template