Moved publish feature to correct place.