Fixed directory bug when added to executable.