Updated the ability to exit