Changed 'exit 2' to 'exit 1' as it seems to be The Right Thing