fixed executable name functionality