Add a check if the executable exists