Added clear and exit