updating readme and npm preinstall script