add exit commad after quit