remove autopublish and setup basic publication