add relay_host to template