Made the `insert` conf function part of the config.js file