Support for custom hostname and stuff