renamed parseRoutes script to trashroutes and added an average index