use plugin for setting metadata, add comments