Optimized for BAIN Installer

Beginning of BAIN package optimization