MAINT more robust install script and update profiles