Init for index.js