added hostname to template variables