added executable check for linux OS