add auto expose as an config option