Added validation for Mac OS X and Linux