Remove more code to do stuff for index/route.js