corrects executable name for image generation