Added sample.index.js for custom configuration