updated to make all configs local (not global)