fixed access of plugin resources
Merge pull request #2 from dobermai/master

Fixed resource loading