Added exit values to be printed when the process ends