Changed exit 2 to exit 1 as it seems to be The Right Thing since exit 2 is misuse-something