fixes for repetitive installs of dynamic images + flavor handling