regeneratedimages and changed permissions