get PluginPathName from environment.
Plugin's path detection added.
Merge branch 'ST2'