Making sure Index.js requires the correct files (and path)