Determine host dynamically