making config portable