publish can take external attachments