removed autopublish and added publications publish