fixes for esp2 handling of images and installation