add host and public configable