Fixed some bugs and updated index with new styles