sets up publishing