updated index file to remove some unnecessary things on top and bottom