added operating system & version check for Mac & Linux