added amd support for plugins