Fix issue in install command, save to package.json when installing

Fixed #16