added image and fixed postgres