before config