improve installation on cloud images