getResources() with pluginDir working