Added exit statements redirects