adding plugin support for Linux,Darwin,Windows platforms