adding publishing support
fixed export name