Fix structure generator and npm install