add explicit exit command