registered the real exit command