setting up publishing