config preparation