Now it works when is run outside the executable location.