nigel: adding publish support