moved conf to init