fixing pathing issue with passed config