misc changes - added analytics