restructured configs for new .before files