Added published/unpublished feature