Fix bug when not in the same dir as config.json