add parameter publish_frequency to scanner yaml files; remove swp file