Updated the way init.js interacts with config.js