WDI package - script from http://goo.gl/DSb9XY