Fix when calling in a different directory.