Revamp to show effected processes
Add exit codes