Setting up publishing