Added pub command and configuration