add publisher to metadata
add overwrite option