cleanup configs, add pathinfo, set owner for socket