Adding more log to index.js