Added should_publish setting