allow hide and auto_exit to be passed in