ability to add before hooks to the config