Update index.js

Added beforeConfig