changed searchhost, feedhost, etc logic to work for local development better.