change main script to index.js in root folder