Fixed return(0) to exit(0)