updating check for executable when running instead of when configuring