updated and fixed index file

everything is now connected