Adding stat publisher and preparing for deploy