configure for different hosts