exits with the proper code now
exit codes work