Move flex installation back to install.js script