Hoisted domain into environment variable.
Added in some extra logging to load balancer code.