use the executableIsFunction variable here