Fixed the configsync to work with pathing and not as function