\
Added exit to all subroutines.