added exit check
Merge pull request #1 from mrdarkfusion/patch-1

added exit check