use newly introduced hostname variable in config-mode