use plugin.name to prompt
adapt to new data structure