added "hosts" config param.