fic bugs and add npm package to install