prep config