removed autopublish and setup basic publication