added method to override the default host

@leore @bsiddiqui