minor adjustments to installation and model gen