install.js improvements