Adding a before config.