Improving exit status