added google analytics and some changes that Tyler Slater recommended