removed faulty executable check