clean up peru_plugin_main
hg reup