removed autopublish and set up publication