Added publish feature