app change to work with re-organized index.js