Remove autopublish and set up basic publication.