implementing config for hostname