Removed autopublish and set up publication