Add function for getting the current executable path.