Added StatCounter code