added binding.gyp
modified preinstall script