change initial publish to be in setup routine