added executable check for linux OS
Merge remote-tracking branch 'upstream/master'