Added is published check