add exit command to shell