updated plugin check due to plugin handling changes
Merge pull request #7 from iceniumsamples/master

updated plugin check due to plugin handling changes