apply the publish preference when importing