Added block in templatefiles and set db settings