Fixed bug getting the executable path