Fix for flashlight executable issues #1846