added images and fixed refresh