Changed exit statements to enable -lr