Added submodule initialiation and changed the preinstall routine to run nw-gyp.