added analytics, final tweaks before publish