adding exit cmd