python path fix and added diagnostic image to spec extraction