confirm on exit and work better in a terminal