add persistence for the image server