restore install from package.json functionality