added nsis plugin with fixes