Config usage

using config to get the host