added executable check